Home > howto, iphone, micro$oft > Scrap the Mac, Leave the OS

Scrap the Mac, Leave the OS

February 20th, 2009

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.

Like this article? Please Digg it!


Share and Enjoy:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Furl
  • Print
  • StumbleUpon
  • Add to favorites
  • blogmarks
  • Facebook
  • LinkedIn
  • Mixx
  • MySpace
  • Slashdot
  • Twitter

howto, iphone, micro$oft , , , , , ,

  1. February 27th, 2009 at 05:03 | #1

    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

  2. February 27th, 2009 at 08:57 | #2

    @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.

  3. newbie
    March 3rd, 2009 at 08:35 | #3

    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.

  4. March 3rd, 2009 at 08:37 | #4

    @newbie
    yeah I think I ran into the same problem. Try either ‘qwerty’ or ‘pcwiz’
    its one of the two.

  5. newbie
    March 3rd, 2009 at 08:42 | #5

    @undertoe
    Thanks, that was fast! :) . It was qwerty.

  6. newbie
    March 3rd, 2009 at 10:26 | #6

    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.

    • March 4th, 2009 at 15:50 | #7

      Not sure which one I downloaded, I’ll check when I get home. I know it did have the word final in it.

  7. liuzhiyuan1982
    March 4th, 2009 at 21:28 | #8

    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.

  8. newbie
    March 5th, 2009 at 04:35 | #9

    liuzhiyuan1982,

    might be that. my CPU is core 2 duo, but also doesn’t support VT.

  9. turbo
    March 8th, 2009 at 10:45 | #10

    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

  10. turbo
    March 8th, 2009 at 10:54 | #11

    My stats- winxp 32bit no vt, 1.1gb ram for osx, tried both 1 and 2 cores. Same 10.5.5 build

  11. March 8th, 2009 at 13:35 | #12

    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

  12. turbo
    March 8th, 2009 at 16:55 | #13

    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

  13. turbo
    March 8th, 2009 at 17:00 | #14

    Did you run any updates on OSX and
    Lastly what version of VMWare are you using?

  14. turbo
    March 8th, 2009 at 23:59 | #15

    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.

  15. March 9th, 2009 at 08:42 | #16

    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?

  16. turbo
    March 9th, 2009 at 10:16 | #17

    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.

  17. March 9th, 2009 at 15:12 | #18

    turbo, I tried what you told me and it works fine, xcode, interface builder and compiling a project. my vmware is 6.5.1

  18. liuzhiyuan1982
    March 9th, 2009 at 20:15 | #19

    undertoe, Can you tell me your hardware specs (CPU, Memory) and which version of Windows do you use (Vista 64bit or 32bit)?

  19. March 9th, 2009 at 20:53 | #20

    vista 64bit

    Intel Core2 Quad Q9450 @ 2.66 GHz
    4 gig memory

  20. turbo
    March 10th, 2009 at 17:26 | #21

    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.

  21. March 10th, 2009 at 20:24 | #22

    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?

  22. nark
    March 15th, 2009 at 22:56 | #23

    pcwiz’s forum post mentions to not install CHUD as it makes the sdk unstable. does that sound familiar?

  23. Luminos
    March 17th, 2009 at 16:08 | #24

    Undertoe, are there any special steps to take to have the iPhone conected to the OSX86 VMWare machine?

  24. dima
    March 18th, 2009 at 15:53 | #25

    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.

  25. March 19th, 2009 at 09:10 | #26

    @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

  26. peterm11
    March 21st, 2009 at 21:21 | #27

    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?

  27. peterm11
    March 21st, 2009 at 22:04 | #28

    nvm. i got it!

  28. peterm11
    March 22nd, 2009 at 00:40 | #29

    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.

  29. peterm11
    March 22nd, 2009 at 09:54 | #30

    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.

  30. peterm11
    March 22nd, 2009 at 15:24 | #31

    @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???

  31. peterm11
    March 22nd, 2009 at 18:43 | #32

    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!?!?

  32. Hobbes
    March 26th, 2009 at 19:09 | #33

    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?

  33. Gonso75
    April 7th, 2009 at 12:13 | #34

    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

  34. April 7th, 2009 at 12:35 | #35

    @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

  35. Hung Nguyen
    April 18th, 2009 at 13:03 | #36

    It will be nice if you upload your VMware image including Iphone SDK and Xcode Tool as well. Many thanks.

  36. PeterM11
    April 18th, 2009 at 21:41 | #37

    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

  37. JP
    April 27th, 2009 at 16:24 | #38

    I have heard that the VMWare image uses Russian. Once downloaded how would you tell OSX to run in English?

    Thanks

  38. Devin
    May 18th, 2009 at 19:43 | #39

    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! :D

  39. N1tr0
    May 19th, 2009 at 14:13 | #40

    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 …

  40. karl
    May 23rd, 2009 at 12:25 | #41

    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

  41. stevebju
    May 24th, 2009 at 21:13 | #42

    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.

  42. chris
    May 30th, 2009 at 17:24 | #43

    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.

  43. karl
    May 31st, 2009 at 11:35 | #44

    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

  44. karl
    May 31st, 2009 at 11:35 | #45

    or how do you download programs onto the sdk image?

  45. karl
    May 31st, 2009 at 11:36 | #46

    mac image rather*

  46. chris
    May 31st, 2009 at 12:19 | #47

    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.

  47. McDenix
    June 4th, 2009 at 13:14 | #48

    please undertoe please please upload your image with the SDK i cann’t run it, i didn’t please upload rapidshare or another please

  48. ssams
    June 8th, 2009 at 11:37 | #49

    @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?

  49. ssams
    June 8th, 2009 at 11:41 | #50

    ssams :@undertoe i successed the excution of xcode in vm using your method . 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?

  50. andy
    July 7th, 2009 at 11:46 | #51

    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/

Comment pages
  1. February 11th, 2010 at 13:10 | #1