Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where to find and install older iOS SDK? [duplicate]

Possible Duplicate:
Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

I need to install older iOS SDK but I could only find the XCode and SDK bundles at https://developer.apple.com/downloads/index.action#. Is there anyway to work around that?

like image 716
bcbishop Avatar asked Nov 23 '12 07:11

bcbishop


People also ask

Where is iOS SDK located?

Default iOS SDK paths Xcode: /Applications/Xcode. app. Xamarin. iOS (Visual Studio for Mac): /Library/Frameworks/Xamarin.

How do I find iOS SDK on Mac?

To add a new Mac OS X or iOS SDK to your development system from a Mac: Select Tools > Options > Environment Options > SDK Manager. Click the Add button. On the Add a New SDK dialog box, select a platform from the Select a platform drop-down list.

What is my iOS SDK?

The iOS software development kit (iOS SDK) is a collection of tools for the creation of apps for Apple's mobile operating system.


2 Answers

The reason why there is no obvious work around is because Apple wants you to develop in the latest SDK while targeting iOS versions/devices as far back as you'd need.

Sometimes, it can be preferable to have an older SDK though. I too was faced with this problem when I upgraded to Xcode 4.5, suddenly 2 of my frameworks stopped working due to the new SDK. I could not upgrade the frameworks to a newer version since the cost of development was already made.

Download an older Xcode version (the one with the desired SDK) from the link you provided in your answer. Each folder in

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

is a separate SDK. Copy and paste the folder in your Xcode installation (same directory as stated above) and you have installed the older SDK. I'd suggest you save this SDK seperatly somewhere, because - if I'm not mistaking - older SDK's get removed from Xcode at updates.

like image 58
mmvie Avatar answered Oct 26 '22 14:10

mmvie


You can download few older SDK in your XCode 4.x: XCode > Preferences > Downloads > Components > Choose and install what you want.

like image 22
Dave Avatar answered Oct 26 '22 15:10

Dave