• 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: settings to build for 10.5 on 10.6?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: settings to build for 10.5 on 10.6?


  • Subject: Re: settings to build for 10.5 on 10.6?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 17 Sep 2009 20:33:11 +0200


Le 17 sept. 2009 à 20:22, David Duncan a écrit :

On Sep 17, 2009, at 10:59 AM, Matt Neuburg wrote:

I'm happy to try to reduce this to a simpler case, but before I do that - I
thought that setting the deployment target and base sdk to 10.5 meant that
there was *no* such difference? In other words, don't these settings mean,
"give me 10.5 behaviors, even though my development machine happens to be
10.6"?

The answer here depends. You can still target 10.5 and get 10.6 behaviors where these behaviors are additions. For example, on 10.6 you can assign an NSImage to the contents of a layer, regardless of the SDK you build against, but doing so does not work on 10.5.


There are linked-on-or-after behaviors that are checked and will cause differences between 10.5 and 10.6 SDKs, but those tend to be for issues where there was a change in behavior between the two OS versions that would break programs. If the changes made were not breaking then it is unlikely that there will be any check to prevent that behavior regardless of your build settings.

Correct me if I'm wrong, but the linked-on-or-after(10.6) test will returns false if you use the 10.5 SDK on Snow Leopard, isn't it ?


If that is not so, then clearly in order to develop *for* 10.5 I should be
developing *on* 10.5, not on 10.6 (which would be a pity because I'd lose
all the tangy Xcode 3.2 goodness...). m.


You don't need to develop on 10.5, but you do need to test there to ensure compatibility.
--
David Duncan
Apple DTS Animation and Printing



-- Jean-Daniel




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: settings to build for 10.5 on 10.6? (From: Matt Neuburg <email@hidden>)
 >Re: settings to build for 10.5 on 10.6? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: settings to build for 10.5 on 10.6?
  • Next by Date: Re: #pragma to suppress a warning message
  • Previous by thread: Re: settings to build for 10.5 on 10.6?
  • Next by thread: Re: settings to build for 10.5 on 10.6?
  • Index(es):
    • Date
    • Thread