Re: 10.6 SDK for Xcode 4.4?
Re: 10.6 SDK for Xcode 4.4?
- Subject: Re: 10.6 SDK for Xcode 4.4?
- From: Marc Respass <email@hidden>
- Date: Wed, 25 Jul 2012 17:19:49 -0400
El jul 25, 2012, a las 4:40 p.m., Chris Hanson escribió:
> On Jul 25, 2012, at 10:43 AM, Marc Respass <email@hidden> wrote:
>
>> I updated to Xcode 4.4 and lost the Mac OS X 10.6 SDK. I copied it from a backup of Xcode 4.3
>
> Modifying Xcode like this isn’t supported; you should virtually always set your Base SDK to the “Latest” option, and use the Deployment Target to specify the earliest operating system on which your code will run.
Thanks for the response, Chris.
The reason I like to specify the older SDK is that my app must run on 10.6 and I have been bitten by accidentally using newer API. When I choose the 10.6 SDK, I cannot, for example, use [NSFetchRequest fetchRequestWithEntityName:@"EntityName"]; because it is not in that SDK. When I choose current SDK but target an older OS, I get to use all the new API that will break my app when I run on the older OS. I have had this problem moving from OS versions before and brought it up at WWDC (some pre-iOS WWDC). Apple was surprised then and things have gotten better. The simple answer is to make the SDK available as a component in Xcode that I can download. Everything is working perfectly fine in Xcode 4.4 with the copied 10.6 SDK.
Radar filed: 11958404
Marc
_______________________________________________
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