Re: #if on SDK_NAME
Re: #if on SDK_NAME
- Subject: Re: #if on SDK_NAME
- From: Chris Espinosa <email@hidden>
- Date: Thu, 16 Jul 2009 20:08:12 -0700
On Jul 16, 2009, at 8:02 PM, Chris Suter wrote: On Fri, Jul 17, 2009 at 12:53 PM, Chris Espinosa<email@hidden> wrote:
The droid you're looking for is MAC_OS_X_VERSION_MAX_ALLOWED. That is the
version number that directly corresponds to the SDK in use.
OK, well let me change my complaint to: MAC_OS_X_VERSION_MAX_ALLOWED is not a good name since you can obviously use the 10.5 SDK with something that runs on Snow Leopard (for example).
But at compile time, it is the latest API that your source code is written for.
MAX_ALLOWED = the largest set of APIs your source code can take advantage of (it can't take advantage of SnowLeopard APIs, because it's not compiled against them) MIN_REQUIRED = the smallest set of ABIs your object code can run against (it can't run on anything earlier because it assume the Deployment Target as a base)
Chris |
_______________________________________________
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