Re: XCode 7 - Targeting 10.9
Re: XCode 7 - Targeting 10.9
- Subject: Re: XCode 7 - Targeting 10.9
- From: Quincey Morris <email@hidden>
- Date: Fri, 18 Sep 2015 08:22:53 +0000
On Sep 18, 2015, at 00:51 , Dave <email@hidden> wrote:
Is it possible to target Mac OS X Versions < 10.11 using the newly released XCode 7? I’ve installed it and opened a test project.
I look in the Project Settings and under General the deployment target is set to 10.11 - I set it to 10.9,
That’s what “targeting” is — setting the deployment target. then in the Build Setting section I notice that the Base SDK is set to 10.11, I click on the pop up but 10.11 (and iOS 9.0 and WatchOS 2.0) are the only options. Do I need to install the SDKs for previous versions of Mac OS X and iOS? If so where/how to I install them?
The Base SDK 10.11 defines the API for *all* target versions up to and including 10.11. Your code restricts itself to what’s available for your target, or (using run-time checks) to what’s available on the OS under which your app is launched.
(In Obj-C or Swift, you get warnings if you try to use API that’s too old — deprecated. In Swift, you *also* get errors if you try to use API that’s newer than your target version. Your explicit availability checks disable these errors.)
|
_______________________________________________
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