• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: #if on SDK_NAME
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: #if on SDK_NAME
      • From: Chris Suter <email@hidden>
References: 
 >#if on SDK_NAME (From: Eric Gorr <email@hidden>)
 >Re: #if on SDK_NAME (From: Jeremy Pereira <email@hidden>)
 >Re: #if on SDK_NAME (From: Chris Espinosa <email@hidden>)
 >Re: #if on SDK_NAME (From: Chris Suter <email@hidden>)
 >Re: #if on SDK_NAME (From: Chris Espinosa <email@hidden>)
 >Re: #if on SDK_NAME (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: #if on SDK_NAME
  • Next by Date: Re: #if on SDK_NAME
  • Previous by thread: Re: #if on SDK_NAME
  • Next by thread: Re: #if on SDK_NAME
  • Index(es):
    • Date
    • Thread