Re: settings to build for 10.5 on 10.6?
Re: settings to build for 10.5 on 10.6?
- Subject: Re: settings to build for 10.5 on 10.6?
- From: David Duncan <email@hidden>
- Date: Thu, 17 Sep 2009 11:22:21 -0700
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.
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
_______________________________________________
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