简体   繁体   中英

How to run xcode project in xcode 3.1 developed in xcode 4.3?

I have installed Mac OS X Snow Leopard 10.6.2 on Windows 7 PC with the help of Virtual box. On that I have installed Xcode 3.1 as it was the compatible version of Xcode on Mac OS X 10.6.2.

While running Xcode project in Xcode 3.1 developed in Xcode 4.3 I get lots of errors.

Is there any way where I can make the codes compatible on xcode 3.1 or at least upgrade xcode 3.1 to xcode 4.3 (nearby) which will be supported by Mac OS X 10.6.2

If you sign in with your developer account at http://developer.apple.com/ios , you'll see that there's a link to "Xcode 4.2 for Snow Leopard". That's what you want. Xcode 3.1 is WAY out of date, and does not include any of the current SDKs.

Its been a while since you posted this so I hope you or others finds this useful. I had the same issue with Mac OS X Snow Leopard running on VirtualBox and not being able to run a later version of Xcode than 3.1. My understanding is that running Mac OS as a VM does not not allow you to run the standard built-in upgrade utility to upgrade the OS.

The resolution that worked for me was documented here How to install Snow Leopard Hackintosh in Virtualbox .

The following method is hacky and has not been thoroughly tested in any way. Use these instructions at your OWN RISK.

First you will upgrade Mac OS Snow Leopard then you will install Xcode 4.2 The steps you'll need are the following:

  1. Take a snapshot of your Mac OS VM in case something goes arigh
  2. Search google for "10.6.7 combo update" (replacing version number with the one you need)
  3. Download the combo update from apple's official site and run
  4. Complete the install (DO NOT REBOOT)
  5. Google "10.6.7 legacy kernel" and download replacing version number with same version number as the combo update (the author of the article recommends finding kernel by nawcom)
  6. Install legacy kernel
  7. Reboot Mac OS and your upgrade should be complete (Note: when I rebooted the spinning wheel that appears during bootup stopped after a min or two. I had to force restart the VM with VirtualBox and it appeared to have updated properly)
  8. Once in Snow Leopard click on the time/date in upper right hand corner and click "Date & Time Preferences"
  9. Uncheck "Set date and time automatically"
  10. Change the date to 01/01/2012 (this is because of an expired cert check that is checked during the install)
  11. Google "xcode_4.2_and_ios_5_sdk_for_snow_leopard.dmg", download, and install it
  12. Once installed you should now have a working copy of Xcode 4.2.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM