SDK 10.6 with Target 10.5
SDK 10.6 with Target 10.5
- Subject: SDK 10.6 with Target 10.5
- From: Eric Gorr <email@hidden>
- Date: Mon, 14 Mar 2011 12:20:37 -0400
On the Cocoa-Dev mailing list, it was mentioned:
> on Xcode 4.0, I have noticed, just accidentally,
> that when the Base SDK is set to Mac OS X 10.6
> and the deployment target to 10.5, I don't get
> any alert about the use of not-available-APIs.
This is how the Base SDK and Deployment Target
build settings have worked since their
introduction. The availability macros to
which they’re an input don’t issue any
warnings for new API that isn’t present on an
older OS because that would potentially
obscure other warnings.
I am curious if it is possible to obtain warning about using new API that isn't present on an older OS...?
Or, what strategies do people employ to catch an accidental use of a new API that isn't present on an older OS...?
Thank you.
_______________________________________________
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