Can one develop for iOS 6 using XCode 5 on Mavericks (OS X 10.9)?

14,989

Solution 1

Yep.

I deploy onto my 4th gen touch from Xcode 5 on ML - not Mavericks, but should be the same.

Note, though, that you won't be able to submit to the App Store from Xcode 5 until just before iOS 7 is released.

Note, though, that you want to install Mavericks onto a seperate partition!!! Don't make it the only OS on your machine until it is released.

Solution 2

You can install Xcode 4 by temporary editing the System Version.

  1. go to /system/library/coreservices
  2. Find SystemVersion.plist and open it
  3. Change the two bottom numbers (10.9) to 10.8.4 and save
  4. Install Xcode 4
  5. Change those numbers back to 10.9 and save.

Done, You now have Xcode 4 on 10.9 :)

Good Luck!

Solution 3

You can install Xcode4 and Xcode5 on the same Maverick system. Just download Xcode 4 from https://developer.apple.com/downloads/ and drag Xcode.app to Desktop, rename it to Xcode4.app and move it to /Applications.

Done!

Solution 4

I was also running the same problem when I updated to xcode 5 it removed older sdk. But I taken the copy of older SDK from another computer and the same you can download from following link.

http://www.4shared.com/zip/NlPgsxz6/iPhoneOS61sdk.html
(www.4shared.com test account [email protected]/test)

There are 2 ways to work with.

1) Unzip and paste this folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs & restart the xcode.

But this might again removed by Xcode if you update xcode.

2) Another way is Unzip and paste where you want and go to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and create a symbolic link here, so that the SDK will remain same even if you update the Xcode.

Another change I made, Build Setting > Architectures > standard (not 64) so list all the versions of Deployment Target

No need to download the zip if you only wanted to change the deployment target.

Here are some screenshots. enter image description here enter image description here

Share:
14,989

Related videos on Youtube

Martijn Courteaux
Author by

Martijn Courteaux

I'm writing Java, C/C++ and some Objective-C. I started programming in 2007 (when I was 11). Right now, I'm working on my magnum opus: an iOS, Android, OS X, Linux, Windows game to be released soon on all relevant stores. The game is written in C++ using SDL and OpenGL. A couple of seeds for my name (for java.util.Random, radix 26): 4611686047252874006 -9223372008029289706 -4611685989601901802 28825486102

Updated on June 25, 2022

Comments

  • Martijn Courteaux
    Martijn Courteaux almost 2 years

    This question is out-dated. Mavericks is released and everything works fine with Xcode 5 and iOS 6 on an iPod 4th gen.


    I'm thinking about upgrading my OS X to Mavericks, but I still want to keep developing my iOS app. I read on the internet that Xcode 4.6.3 is not compatible with Mavericks (OS X 10.9). So, this would force me to use the new Xcode 5. However, Xcode 5 comes along with the new iOS 7 SDK. The problem is that I own an iPod 4th gen, which isn't compatible with iOS 7.

    So, has anyone tried this already? I think this should be possible, because at the WWDC 2013, Apple was so proud to tell that more than 90% of the costumers work with the latest iOS, which is currently still iOS 6. But with the release of iOS 7, they will be ruining that fact, because iOS 7 doesn't seem to be compatible with iPod 4th Gen. And a lot of people own such a device.

    Did I miss something, or is Apple going to wrong way?

  • sean woodward
    sean woodward over 10 years
    Just download Xcode 4 and install from developer.apple.com. No need to change system versions.
  • PoisonNinja
    PoisonNinja over 10 years
    @Sam Guichelaar That does not work, as it will say "Xcode Install Assistant cannot be installed on this disk. The version of OS X is too new"