Scrap the Mac, Leave the OS
This is the true story of a man’s journey beyond the hardware and into the OS….. Join me on a fantastic adventure of greedy, deception, and virtual machines. It’s simple I want to eliminate my mini mac and run osx in VMware so that I can install xcode iphone sdk. Is it possible? VERY! and I will explain.
I always see on forums, people pissed there isn’t an xcode release for windows.
Well if your not invited to the party, crash it. There are two options on the table. One download OSx86 and install a dual boot of windows vista & OSx. Two try to get VMware to run OSx86. I choose option number two because I did not want the hassle of dual booting. I want instant joy….
Before I begin I should state that you should buy a licensed copy of OSx if you intend on keeping it installed and plan on using it. This tutorial is purely for educational purposes and does not include any software.
In order to run the iPhone Xcode SDK you need 10.5.5 or greater with iTunes 8. You could install OSx86 stright through vmware. But why reinvent the wheel. A simple torrent search of “MacOS 10.5.5 VMWARE image” will land you exactly what you need.
Once downloaded you’re going to want to boot the VMware image. This version booted really quick and wasn’t clunky and slow like the other vmware images. I do run a quad core and was able to dedicate 2 processors to it and 1.5 gig of memory. I’m sure that made some difference but should be two different on a solo core.
All you really need to do is download the iPhone SDK through the apple website. At that point everything should be all good.
Desktop Resolution Fix if you get annoyed by the 1024 x 768. Its nice running OSx at the same resolution as your desktop and just full screen it.
- Booting OSx86 in VMware
- About this Mac
- Great Success installing iPhone SDK
- Xcode running on windows
- Interface Builder
- The Godfather
Like this article? Please Digg it!






Good to see that someone make it working out.
However I have few questions:
- How long it takes to you to setup everything ?
- Any torrent link to forward ?
- Do you know if apple check your OS version if you up software to them ?
Thankx
Joe
@Joe
It didn’t take long at all. Longest part was obviously waiting for everything to download (torrent & xcode iphone sdk) total about 4 gig.
if you google “MacOS 10.5.5 VMWARE image” you will find what your looking for.
Well using the vmware image you can not update software via apple update tool. There is really no reason to update because the 10.5.5 is fine with the iphone sdk and itunes is at version 8.
Hi, I d/l the first iso that I found with that search, but now when I try to install the SDK, it asks me for the root password, and I can’t find it.
@newbie
yeah I think I ran into the same problem. Try either ‘qwerty’ or ‘pcwiz’
its one of the two.
@undertoe
. It was qwerty.
Thanks, that was fast!
After d/l and installing the newest SDK, and trying to start xcode, I got the “application xcode quit unexpectedly” message.
Questions:
1.I used the default selected options while installing the SDK. Did you maybe made some changes?
2.The current SDK on apple’s site is 2.2.19m2621afinal, was that the one you were using too?
Hoping here that you did something differently in those cases.
Not sure which one I downloaded, I’ll check when I get home. I know it did have the word final in it.
I also have the same problem. I used the same VMware image, and I installed iphone_sdk_for_iphone_os_2.2.19m2621afinal.dmg which is downloaded from Apple and the one downloaded from http://thepiratebay.org/torrent/4066811/iPhone_SDK. But neither worked. They just crash and say something like “unexpected error”.
I guess might it be a problem due to my CPU? My CPU is Intel Pentium Core and do not support 64 bit. Which OS (32bit or 64bit) and CPU (does it support VT?) do you use? Thanks.
liuzhiyuan1982,
might be that. my CPU is core 2 duo, but also doesn’t support VT.
Same problem here too, was quite excited to try it until xcode would not load a project and would continually crashed. Using 2.2.19m2621afinal iphone sdk
My stats- winxp 32bit no vt, 1.1gb ram for osx, tried both 1 and 2 cores. Same 10.5.5 build
I must have deleted the iphone sdk to see what version it is but here is what xcode > about says
version 3.1.2
Component version
Xcode IDE: 1149.0
Xcode Core: 1148.0
ToolSupport: 1102.0
What edition of vista are you using (32/64) and are you using VT (if vt isn’t available, vmware will tell you on startup), and lastly are you are if your xcode is running in 32bit or 64 bit.
If you are running 32 bit vista and your processor supports VT, then you can run OSX in 64 bit mode.
My Xcode matches yours:
v3.1.2
ide 1149
core 1148
ToolSupport 1102
Did you run any updates on OSX and
Lastly what version of VMWare are you using?
Turns out if your machine does not support vt then you cannot run osx in 64 bit, even if you are running vista / xp 64 bit edition. I just did a clean install of xp 64 to test this out but was unsuccessful. Will have to look into buying a new processor if 64 bit is the way to go.
You shouldn’t have to run osx in 64 bit mode to get xtools to work.
Turbo how are you able to get the version info if you can’t get it to install?
Xcode does install fine. Once it launches it will either exit immediatly or everything else will freeze up giving me a chance to click around before it too will dissapear. It crashes on project creation or opening.
Update: I’ve upgraded my vmware osx to 10.5.6 through no small feat and it still crashes. I’m guessing the biggest difference between our installs is vt.
If you would please, try running your copy with vt disabled by clicking on processors under ‘devices’ on the main vmware workstation screen. Then select binary translation’ under preferred mode.
FYI I’m also running vmware 6.5.1 although I’ve tried player 2.5.1.
turbo, I tried what you told me and it works fine, xcode, interface builder and compiling a project. my vmware is 6.5.1
undertoe, Can you tell me your hardware specs (CPU, Memory) and which version of Windows do you use (Vista 64bit or 32bit)?
vista 64bit
Intel Core2 Quad Q9450 @ 2.66 GHz
4 gig memory
I am out of ideas. I wonder though if the 10.5.5 vmware image you used is the same as the one I have. I downloaded it from a torrent which was initially in russian and has the password of qwerty. Unless your copy started out in English, I just can’t determine what else could be different.
I may have to test this on a processor which supports vt.
Yeah that was what version i had, and it was hard as hell on how to figure out how to change it to english when your not fimilar with mac osx
does anyone else have it working?
pcwiz’s forum post mentions to not install CHUD as it makes the sdk unstable. does that sound familiar?
Undertoe, are there any special steps to take to have the iPhone conected to the OSX86 VMWare machine?
I followed the advise in this blog, got the image, enabled VT and now Xcode seems to run OK so far. I am using wmplayer.
I have a few question in regards to the vmware set up.
if anyone found solution to these questions please let me know:
1. how to copy & paste text from Windows machine to Virtual Mac Machine ? Is there an easy way to Copy Files ?
2. Is it possible to do do something so mouse would leave virtual desktop automatically without using Ctrl+Alt.
Thanks.
@Luminos
I was unable to sync usb to the vm. I have not got to that step yet in app development
@dima
1) To the best of my knowledge you need vmware tools installed on the guest os and since darwin technically isn’t supported by vmware there is no install package.
2) No that is just the design of VMware
hey, i downloaded VMware Player and downlooaded the OS thing from a torrent but its in RAR format. what do I do to get it to work with the VMware Player?
nvm. i got it!
I have a question. What would happen if I tried to update to 10.5.6? Would it mess everything up?
Just wondering.
I probably won’t do it anyways.
Okay, problem.
Everything seems to running fine and all, but…
I downloaded the SDK and now when I try to run the file I downloaded it pops up with a box that says “The following disk images failed to mount” and by the SDK file on the list it says “error -4960″
What’s wrong? And what can I do to fix it?
Please help! Thanks.
@turbo im not having the same problem as you. its popping up saying it unexpectedly quit and it does the same thing every time i hit relaunch.
have you found anyway to fix it???
somebody please help…?
I cant afford a mac and this is the closest thing i can get.
I need the Mac OS so I can try to develop for the iPhone.
I got everything set up, downloaded and successfully installed Xcode but now whenever I try to open it, it says Xcode has unexpectedly quit and Idk why its doing this. How can I fix it!?!?
Hi,
I want to try this out on a clean format of my HD.
I will be running it on a DELL Latitude D820 with Intel® Core™2 Duo Mobile Processor T7200 @ 2GHz and 2GB of RAM.
Can I upgrade to Vista while I am at it or just stick to XP?
Hi
I have Mac OS 10.5.5 pcwiz vmware running.
I want to install iPhone SDK 3 beta and it requires 10.5.6.
What is the procedure to update?
Has anyone test it out?
Thanks in advance
Gonso
@Gonso75
I haven’t updated to that SDK yet. I will have to give it a try. OS updating usually ends in a flaming mess with OSX86
It will be nice if you upload your VMware image including Iphone SDK and Xcode Tool as well. Many thanks.
I have 10.5.5 running in VMware Workstation but after I downloaded the iPhone SDK it installed fine, but when I try to launch it it freezes up, waits a while, then crashes.
Like @Hung Nguyen said, could you upload your VMware image that works???
thanks
I have heard that the VMWare image uses Russian. Once downloaded how would you tell OSX to run in English?
Thanks
Is there anything I can do within the mac os or the vm player itself or anything that would make the os run faster? My cursor moves in real time but everything else is lagging too much for me to expect any real use of the sdk.
Thanks for the instructions, though!
Hi all,
I have a noob question…
I have launched the VM and works fine on my PC Intel with Vista.
But if I have a generic file in a host folder, eg. a dmg image, how it can be shared/copied in the VM file system?
Thanks for the patience …
my quesiton i dont think has ever been asked before, if you downloaded the sdk in windows how did you run it in the vm? because you cant drag and drop files from windows in the vmwear virtual machine or acess windows files whilst in the virtual machine? talk us through how you did that as i cant get it to show up in the vm using anything
Let me see if I’ve got this straight…
You did not setup a dual boot on a PC with Vista & Mac correct. B/c for one, the Mac OS will not work on a the PC architecture. So, your processor supports VM (Virtualization), which I’ve enabled through the BIOS. And, now you’ve downloaded Mac OS X Leopard 10.5.5 or 10.5.6, which was a .dmg file after torrent extract. So, you had to find a program to convert it into an .iso image and put it on a DVD DL disk in order to install it right? Cause the file is something like 7.6GB large. Then, did you purchase and use VMware workstation/VMware Fusion, or does Vista have it’s own virtual machine? And if so, how did you make Vista’s VM work? Then, using the DVD DL install Mac OS on the VM. And, I really like the question before mine about how you download and install the sdk…I assume once you’ve setup the Mac OS via VM you download and install the sdk all done on the VM.
I’m just trying to figure this out before I go messing up something up. thanks.
Steve,
I tried the process you described – download, convert, burn, vmware install. but i couldnt get it to boot from the DVD DL disk.
so then i tried what is going on in this thread – downloading a vm image which already has 10.5.5 installed on it and then just opening it with vmware. this was a success (i didnt use the russian version they are talking about though – instead a version by Xelabo). then to address both questions – i downloaded sdk straight onto the guest mac os. this installed fine, but now i have the same problem as a number of the above posters – xcode wont start, it just keeps crashing. any help would be appreciated.
so basiclly you set up the mac os image running which i have, then you downlaod the sdk whilst in the mac vm? how do you internet working whilst in the mac vm? as i have a wireless adaptor for my pc
or how do you download programs onto the sdk image?
mac image rather*
i just ticked the “NAT used to share host’s ip address” box under network settings for the guest machine. no troubles whatsoever. downloaded sdk directly onto the mac’s 30gb drive it had allocated.
please undertoe please please upload your image with the SDK i cann’t run it, i didn’t please upload rapidshare or another please
@undertoe
i successed. And, i added usb controller in Edit vm setting of vmware6.5.2 for the sync and usbmemorystick. But, i cann’t used the mouse, and confirm the lik(pen mouse device driver or program)in system preference. Do you know the method?
This is all very well if you have a VM downloaded thats already at the right version for the iPhone SDK but right now all I can find is 10.5.6 VMs and the SDK needs 10.5.7. I bought a retail copy of OS X and followed this tutorial: http://iphone-sdk-in-windows.co.uk/