1

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

Maksim
  • 2,054
  • 3
  • 17
  • 33

2 Answers2

0

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.

BJ Homer
  • 48,806
  • 11
  • 116
  • 129
  • Thank you for your reply BJ but let me remind you that i am running snow leopard on windows7 machine with the help of virtual box and that does not support any higher version than 3.1 and have tried it.. – mandar nageshkar Jun 23 '12 at 04:44
  • Regardless of whether you're running it on VirtualBox or directly on the hardware, Snow Leopard is Snow Leopard. You say you're running OS X 10.6.2; the latest Snow Leopard is 10.6.7. There is no change in hardware requirements between 10.6.2 and 10.6.7, so you should be able to upgrade to 10.6.7, and Xcode 4.2 should work on it. Yes, even in VirtualBox. – BJ Homer Jun 23 '12 at 05:47
  • Note that the update to 10.6.7 is free; you just need to run Software Update. – BJ Homer Jun 23 '12 at 05:49
0

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_s­now_leopard.dmg", download, and install it
  12. Once installed you should now have a working copy of Xcode 4.2.
Ian G
  • 498
  • 3
  • 16