Where to find and install an older iOS SDK?

Possible duplicate:
Install Simulator SDK 4.3 in Xcode 4.4 on Mountain Lion

I need to install an older iOS SDK, but I could only find the Xcode and SDKs in https://developer.apple.com/downloads/index.action# . Is there any way around this?

+6
source share
2 answers

The reason there is no obvious work is because Apple wants you to evolve in the latest SDK, focusing on the iOS version / device again, as you need.

Sometimes it may be preferable to have an older SDK. I also encountered 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 because the development cost has already been completed.

Download the older version of Xcode (the one that has the desired SDK) from the link provided in your answer. Every folder in

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

- separate SDK. Copy and paste the folder into your Xcode installation (the same directory as above), and you have installed the old SDK. I suggest you keep this SDK separate, because - if I'm not mistaken - the older SDK will be removed from Xcode during updates.

+7
source

You can download some old SDKs in Xcode 4.x: Xcode> Settings> Downloads> Components> Select and install what you want.

+1
source

All Articles