• 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: Mac OS X Deployment Target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X Deployment Target


  • Subject: Re: Mac OS X Deployment Target
  • From: Christiaan Hofman <email@hidden>
  • Date: Fri, 14 May 2010 13:35:57 +0200

On May 14, 2010, at 7:03, Howard Rodstein wrote:

> Ken and Chris - thanks for the prompt and informative answers. I've got the
> picture.
>
> The SDK Compatibility Guide says:
>  On systems earlier than the Deployment OS version, your code may fail to
>  load if you use symbols unavailable in that version.
>
> I think it should say your code will most likely fail to load whether you
> explicitly call routines from later OSes or not.
>

No, you can have symbols (like methods) that are defined only on say 10.6, and the code will still load on 10.4. That's what weak linking is all about. It will fail only when you try to use that code on 10.4, therefore such use should always be put in a conditional statement checking for existence of the symbol (e.g. using respondsToSelector:).

Christiaan

> Also, the tips shown in the build tab of the project settings when you
> select Mac OS X Deployment Target say:
>  Compiler Default - Code will load on any Mac OS system that supports
>  the APIs that are used.
>
> I think it should say your code will load only on systems running the same
> or later OS version as the SDK version.
>
> Howard Rodstein
> WaveMetrics

 _______________________________________________
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: Mac OS X Deployment Target
      • From: "Paul Sanders" <email@hidden>
References: 
 >Mac OS X Deployment Target (From: Howard Rodstein <email@hidden>)
 >Re: Mac OS X Deployment Target (From: Chris Espinosa <email@hidden>)
 >Re: Mac OS X Deployment Target (From: Howard Rodstein <email@hidden>)

  • Prev by Date: Re: Mac OS X Deployment Target
  • Next by Date: Re: Mac OS X Deployment Target
  • Previous by thread: Re: Mac OS X Deployment Target
  • Next by thread: Re: Mac OS X Deployment Target
  • Index(es):
    • Date
    • Thread