Re: fast enumeration puzzlement
Re: fast enumeration puzzlement
- Subject: Re: fast enumeration puzzlement
- From: Chris Hanson <email@hidden>
- Date: Mon, 24 Dec 2007 03:45:13 -0800
On Dec 24, 2007, at 1:02 AM, Wade Tregaskis wrote:
* warning: Mac OS X version 10.5 or later is needed for use of
foreach-collection-statement*
This says to me that you're targeting a pre-10.5 SDK, rather than
the current system.
Actually, it says that you have the Mac OS X Deployment Target set to
something lower than 10.5. Many developers set it to a lower value
(e.g. 10.4 or 10.3) so their application will run on an earlier
operating system, even though they are using features from a later one.
The general rule is that the SDK specifies the most recent version of
Mac OS X that you want to use features from, while the Mac OS X
Deployment Target specifies the minimum version of Mac OS X that you
want to run your software on. If you don't specify a minimum, an SDK
itself implies a minimum.
I felt this needed spelling out again because I see a *lot* of people
say things like "use the 10.3.9 SDK to run on 10.3.9," which isn't the
case.
-- Chris
_______________________________________________
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