Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing the base SDK in Xcode

Tags:

xcode

ios

I am using Xcode 4.5. I developing an iOS app, I am targeting iOS 5.1.

I want to change the Base SDK to iOS 5.1, but it only displays iOS 6.

Where have all the others go?

like image 614
Tiago Veloso Avatar asked Oct 04 '12 13:10

Tiago Veloso


People also ask

How do I change base SDK in Xcode?

Is there a way to do this? You can build an app that runs on older versions of iOS by selecting the appropriate deployment target (no earlier than iOS 8). You must use the 12.1 Base SDK. But selecting a deployment target to an earlier version causes the base SDK to also go to an earlier version.

Where are Xcode SDKs stored?

Newer Xcode versions have the SDKs inside the Xcode. app bundle, e.g. from the command line. If you have installed the "Command Line Tools" (Xcode Preferences -> Downloads -> Components) then compiling without "-syslibroot" should be equivalent to compiling against the latest SDK.


1 Answers

You should always use the latest SDK. If you want to target older iOS versions, change the Deployment Target setting to the minimum iOS version you want to support.

like image 99
Mike Weller Avatar answered Oct 25 '22 09:10

Mike Weller