How to Install iOS 6 Sdk on Xcode 5

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

  1. Yes
  2. Yes
  3. 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 see Xcode 4.6.3
  • 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 on View all versions. Here you can select Xamarin.iOS 6.4.3 version.
  • XamarinStudio 4.0.12

    • The process is the same as for Xamarin.iOS. Only select the third column where you can find other version for XamarinStudio.

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?

Sample Image

With iOS 6.0 and iOS 6.1 simulator both installed, the problem got solved!



Related Topics



Leave a reply



Submit