I have installed XCode 6 and it came with the iOS 8 SDK but i need to test on devices still running 7.1 and cannot figure out how to get the iOS 7 SDK now without downloading an older version of XCode than I already have installed. Where can I find the previous SDKs and can I install them in my newer version of XCode?
IOS – How to acquire SDKs to build target pre-8.0 iOS
iosxcode
Related Question
- IOS – Does installing Xcode 5.0 with iOS 7 SDK remove the iOS 6.x SDKs
- Xcode cannot run using the selected device
- Force xcodebuild use a specific SDK only
- IOS – Running an app build with very old iOS SDK on a device running current iOS
- IOS – How to stop Xcode downloading iOS support package of the iPhone
Best Answer
You don't need previous SDK to build for iOS7. Change Deployment Target in Xcode.
Here are differences between Deployment Target and Base SDK: http://www.raywenderlich.com/42591/supporting-multiple-ios-versions-and-devices
Base SDK can be changed here:
Deployment target can be changed here:
Check this answer to add earlier devices support.