问题
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?
回答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.
回答2:
You can install Xcode 4 by temporary editing the System Version.
- go to /system/library/coreservices
- Find SystemVersion.plist and open it
- Change the two bottom numbers (10.9) to 10.8.4 and save
- Install Xcode 4
- Change those numbers back to 10.9 and save.
Done, You now have Xcode 4 on 10.9 :)
Good Luck!
回答3:
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 test@yopmail.com/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.
回答4:
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!
回答5:
Correct, change the Deployment Target and set it to 6.1, even im also working on OS X 10.9 but want to use simulator 6.1.3 with Xcode 5. Im little confused that OS X 10.9 is going to support Simulator 6.1.3 with Xcode 5 or not. I want to make Simulator 7.0 look like iphone frame when it runs but nothing happening ...
来源:https://stackoverflow.com/questions/17197873/can-one-develop-for-ios-6-using-xcode-5-on-mavericks-os-x-10-9