Re: Best way to get warnings for 10.5 only calls?
Re: Best way to get warnings for 10.5 only calls?
- Subject: Re: Best way to get warnings for 10.5 only calls?
- From: Fritz Anderson <email@hidden>
- Date: Wed, 30 Jan 2008 16:12:23 -0600
On 30 Jan 2008, at 3:29 PM, Knowledge Engineering wrote:
(1) Using Xcode 3.0 on Leopard for a project whose deployment target
is 10.4 and above, what is the easiest way to get warning messages
if I use a 10.5 - only function call?
Change the target's SDK from 10.5 to 10.4u. That will get you warnings/
errors upon finding things that aren't defined for 10.4. The formula
is that you set the SDK for the highest version of the OS from which
you want features, and the deployment target for the lowest version
you'll permit the application to run on.
If it's just a matter of detecting 10.5 calls (that is, you intend to
take advantage of weak-linking and Objective-C introspection to avoid
using them on 10.4), you can switch back to the 10.5 SDK once you've
done your detecting.
— F
_______________________________________________
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