Re: Creating mixed target iOS and Mac project
Re: Creating mixed target iOS and Mac project
- Subject: Re: Creating mixed target iOS and Mac project
- From: Antonio Nunes <email@hidden>
- Date: Wed, 1 Sep 2010 06:06:32 +0100
On 1 Sep 2010, at 01:31, Shawn Erickson wrote:
> Also look at TargetConditionals.h available in any recent Mac or iPhone SDK.
Thanks.
Interesting: it resides within folders that are not searched by Spotlight. There are only few mentions of the file in the documentation (for iOS only in the iPhone Developer Guide), and those don't provide a path to the file. I had to search for it manually.
I could find it in the terminal though:
spinner:~ conundrum$ find -f /Developer/* -name TargetConditionals.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/TargetConditionals.h
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/usr/include/TargetConditionals.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/TargetConditionals.h
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/include/TargetConditionals.h
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/TargetConditionals.h
/Developer/SDKs/MacOSX10.5.sdk/usr/include/TargetConditionals.h
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/TargetConditionals.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/TargetConditionals.h
Since we (I) are used to finding SDK header files with Spotlight, wouldn't it make sense for the docs to provide some clues as to the whereabouts of the file(s)?
-António
-----------------------------------------------------------
And you would accept the seasons of your
heart, even as you have always accepted
the seasons that pass over your field.
--Kahlil Gibran
-----------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden