Is it possible to install iOS 6 SDK on Xcode 5?
EDIT: Starting Feb 1, 2014, Apple will no longer accept pre-iOS7 apps for submission to App Store. So while this technique still works, it will not be useful for most readers.
Yes, this is fine. I still build with iOS 4.3 for one project (it's been awhile since we updated; but they still accepted it after iOS 6 came out), and I currently build 10.5 apps with Xcode 5.
See How to point Xcode to an old SDK so it can be used as a "Base SDK"? for details on how to set it up. You can use my fix-xcode
script to link everything for you every time you upgrade.
The only trick is getting the old SDKs. If you don't have them, you generally need to download old versions of Xcode (still available on developer.apple.com), open the installer package, and hunt around to find the SDK you need.
SDKs can be found within the installer package at:
Xcode.app/Contents/Developer/Platforms/
How can I build for iOS 6 with Xcode 5?
First of all you need to download the older Xcode you want to build for.
After that, you copy the .sdk in the folder of the older Xcode /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/platform/SDK
and paste it in the same folder, but now, from the Xcode 5.0
Now, you should be able to choose between all the .sdk installed on that folder under the "Build settings" tab of your project, under Base SDK.
Can I develop ios 6 app using xcode 5 and ios 7 SDK
- Yes
- Yes
- No, You can work on Xcode 5 and iOS6.
You can simply update your Xcode 4 to 5.
Xamarin iOS 6 SDK Xcode 5
I experienced the same problem. Uninstall Xcode, Xamarin.iOS and Xamarin Studio and install these versions:
Download and install:
Xcode 4.6.3
- Go to developer.apple.com/xcode/. Log in. Click
View downloads
and on the second screen you should seeXcode 4.6.3
- Go to developer.apple.com/xcode/. Log in. Click
Xamarin.iOS 6.4.3.0
- In order to download this version log in to xamarin.com/. Click on your account and then
Install
. Under the big green button click onView all versions
. Here you can selectXamarin.iOS 6.4.3 version
.
- In order to download this version log in to xamarin.com/. Click on your account and then
- XamarinStudio 4.0.12
- The process is the same as for
Xamarin.iOS
. Only select the third column where you can find other version forXamarinStudio
.
- The process is the same as for
If you don't have the latest Xcode
and Xamarin.iOS
you won't be able to debug your applications with iOS 7
on iOS Simulator
.
EDIT
As Peter pointed out, Apple will stop accepting apps which are not built with XCode 5 since February 2014.
Xcode 5 with iOS 6 SDK: 'UIAccelerometer' is unavailable: not available on OS X
- close Xcode
- delete contents of the folder /Users/.../Library/Developer/Xcode/DerivedData
- Xcode -> Product -> Clean
- Xcode -> Product -> Build
how to run ios6 simulator in xcode5?
With iOS 6.0 and iOS 6.1 simulator both installed, the problem got solved!
Related Topics
Ios App With Framework Crashed on Device, Dyld: Library Not Loaded, Xcode 6 Beta
Array Extension to Remove Object by Value
Convert Utf-8 Encoded Nsdata to Nsstring
Bold & Non-Bold Text in a Single Uilabel
How to Beta Test an Iphone App
How to Detect That an iOS App Is Running on a Jailbroken Phone
Uialertcontroller Custom Font, Size, Color
How to Set Cornerradius For Only Top-Left and Top-Right Corner of a Uiview
Nsurlsession/Nsurlconnection Http Load Failed on iOS 9
Evenly Space Multiple Views Within a Container View
How to Force a Uiviewcontroller to Portrait Orientation in iOS 6
Ios 9 Not Opening Instagram App With Url Scheme
How to Present Uialertcontroller When Not in a View Controller
How to Find Topmost View Controller on Ios
How to Adjust the Anchor Point of a Calayer, When Auto Layout Is Being Used
How to Take a Screen Shot of a Uiview
How to Hide Uinavigationbar 1Px Bottom Line
Waiting Until Two Async Blocks Are Executed Before Starting Another Block