On Sep 18, 2015, at 00:51 , Dave <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to