Re: Developing for 10.4 and up
Re: Developing for 10.4 and up
- Subject: Re: Developing for 10.4 and up
- From: Stonewall Ballard <email@hidden>
- Date: Fri, 15 Jan 2010 13:31:09 -0500
On Jan 15, 2010, at 12:44 PM, Chris Espinosa wrote: On Jan 15, 2010, at 7:21 AM, Stonewall Ballard wrote: Have I just been assuming all along that you need to use the base SDK corresponding to the minimum OS version the app runs on?
That's an incorrect assumption. You set the SDk according to the latest SDK you want to use APIs from. You set the Deployment Target to the minimum OS you want the app to run on. If that's so, why does Apple supply the 10.4 and 10.5 SDKs with the developer tools?
Because newer SDKs usually adopt other requirements (compilers, etc.) that will force you to update your code in order to recompile. Developers who don't want to invest in upgrading their code base often want to stick with an older SDK, even though that cuts them off from new APIs.
I just read through AvailabilityMacros.h, and from that I gather that when using the 10.6 SDK, I have to explicitly set MAC_OS_X_VERSION_MAX_ALLOWED to 10.4 if I want to get errors when I try to use anything that wasn't available in 10.4.
Thanks for the clarification!
- Stoney
|
_______________________________________________
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