Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 5 SDK is gone after upgrade to Xcode 4.5

I upgraded Xcode to version 4.5. Now all of the preferences are reset back to factory settings - editor fonts, colors, etc - but this is not my biggest concern.

It seems the iOS SDK 5.1 I was targeting is now gone. In project's build settings I can only choose Base SDK between "Latest iOS (iOS 6.0)" and "iOS 6.0". Is it possible to recover the previous installed SDKs?

like image 425
Vladimir Grigorov Avatar asked Sep 26 '12 13:09

Vladimir Grigorov


2 Answers

Download from this link, all sdks should be here. Some nice guy made it

http://uv.howett.net/~dhowett/sdks.php

like image 98
Cecilia Humlelu Avatar answered Sep 28 '22 04:09

Cecilia Humlelu


Current Xcode versions come only with the latest iOS SDK (which is a pity, but we cannot change it). Also Apple recommends to always use the latest SDK for building apps, and setting the "Deployment Target" to the minimum version that you plan to support.

You can copy an SDK (e.g. iPhoneOS5.1.sdk) from an older Xcode to

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

and it will appear in the build settings. But you might run into problems later with this configuration.

like image 28
Martin R Avatar answered Sep 28 '22 05:09

Martin R