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?
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?
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.