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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With