Reputation: 57
I am new to iOS. With iOS 7 release I am struggling to find how to target my app for previous versions but building from new iOS 7.
I do not know if at all this is possible. but iOS has changed app UI totally, but can not do all change now. So I have been told to build it on new version but target should be for old, so that no UI changes to be done.
Something like building from Xcode 5 but iOS should be 6.1. I do have both Xcode running on my Mac.
If I open both it shows: Xcode 5 - iOS 7, Xcode 4.6 - iOS 6.1. How can I use Xcode 5 to target iOS 6.1?
Upvotes: 1
Views: 2336
Reputation: 2276
I guess your question is How to build iOS app with iOS6.1 SDK in XCode5
. Am i right?
You must install iOS6.1 SDK (iphoneos6.1 not simulator iOS6.1) to your XCode first. This question Is it possible to install iOS6 SDK on Xcode 5?
could help you to install iOS6.1 SDK.
Than you could configure your project using iOS6.1 SDK to build your app like below:
Upvotes: 1
Reputation: 36
If you are looking to test your app on lower iOS simulators.
go to Xcode - > Preferences - > Downloads
Over here download the desired simulator.
Once you have downloaded and installed it you can test your application on lower iOS versions.
Upvotes: 0
Reputation: 26385
As far as I know you can't deploy only for iOS6.x using xcode 5, but you can deploy for iOS7 and iOS6, setting the deployment target ad Raptor said. If you want to deploy only for iOS6 you can download the old xcode 4.6.3 from apple site and make the procedure from there.
Upvotes: 3