Re: versions & OS support
Re: versions & OS support
- Subject: Re: versions & OS support
- From: Fritz Anderson <email@hidden>
- Date: Wed, 10 Apr 2013 16:23:27 -0500
On 10 Apr 2013, at 9:14 AM, Alex Zavatone <email@hidden> wrote:
> The odd part is that the SDK is there since other projects build for 10.6, 10.5, etc. If I have time, I'll narrow this down later in 4.6.1 and file a RADAR if necessary.
By "build for," you may be conflating (or permitting others to conflate) two concepts.
You build _for_ a target version of the operating system, _with_ an SDK. Each new SDK (like 10.8) is supposed to be a proper superset of all the SDKs (like 10.6) that came before it. You can build an application _targeted_ at 10.6 _using_ the 10.8 SDK. The app will run on any OS back to the target.
SDK is a build-time consideration; target is a run-time consideration.* They are two different concepts, with different settings.
* (Simplifying; the choice of SDK vs target does have run-time consequences.)
Target: In the Summary tab of the Target editor, or search the Build Settings tab for "deployment target."
SDK: Search the Build Settings tab for "Base SDK."
In the simplest use case, the "current" SDK is all you need. If you're targeting an earlier system, your app can test for the presence of newer features, and use them if they're available.
However:
Temporarily switching to an older SDK was the best way to check for dependencies on API that isn't available on your targeted OS. Apple engineers have answered that the current SDK is all you need to produce something that _could_ run on an earlier OS, but that answers a different question.
I've mentioned Deploymate, which can audit a project for unimplemented API. It looks promising.
— F
--
Fritz Anderson
Xcode 4 Unleashed: 4.5 supplement for free!
http://www.informit.com/store/xcode-4-unleashed-9780672333279
_______________________________________________
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