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?
Default iOS SDK paths Xcode: /Applications/Xcode. app. Xamarin. iOS (Visual Studio for Mac): /Library/Frameworks/Xamarin.
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.
The iOS software development kit (iOS SDK) is a collection of tools for the creation of apps for Apple's mobile operating system.
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.
You can download few older SDK in your XCode 4.x: XCode > Preferences > Downloads > Components > Choose and install what you want.
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