[how-to] MAC and Xcode in Windows!

Discussion in 'iOS Development' started by devos50, Nov 30, 2009.

  1. devos50

    devos50 New Member

    Joined:
    Jul 25, 2009
    Messages:
    22
    Likes Received:
    0
    Device:
    2G iPod touch
    Hi all, after days of testing and being determinated to get Xcode working in Windows I finally managed to do it. Here's a little tutorial how to do it. Sorry for my bad english.

    NOTE: USE THIS AT YOUR OWN RISK! ALSO, YOU ARE BREAKING THE TERMS OF APPLE WHEN DOING THIS. USE IT ONLY FOR EDICATIONAL PURPOSES! BREAKING THIS RULES ARE YOUR OWN RISK.

    Requirements:
    -PC with an Intel/AMD-processor, at least 512mb ram, about 20gb free disk space and a Windows OS.
    -VMware v7. You can download this from the following site: http://downloads.vmware.com/d/. This software have to be purcased but you can download the trial

    version for free. Ofcourse there are always tricks to get the full version work but you can use google for that.
    -Iatkos V7 iso file. Again, use Google to search for this file. You can download it with *******s/usenet whatever

    Please Register or Log in to view images

    .
    -The Iphone SDK with Xcode. Download the SDK for Leopard (10.5.7), NOT Snow Leopard (10.6). Put it on a FAT32 formatted USB-device to transfer it to the mac

    system. You can also choose to first install mac and then download it within mac.
    -Some time and patience.

    1) Install VMware v7. This shouldn't be a problem.

    2) Make sure you've downloaded the Iatkos V7 .iso file, it should be around 3,6Gb. Put it in a place where it's easily founded back because you will need it

    soon.

    3) Start VMware and click File > New > Virtual Machine. Check Custom (Advanced) and click next -> click next -> Check "Installer disc image file (.iso)" and

    browse to your Iaktos V7 .iso and click next -> check Other guest operation system, make sure the Version is FreeBSD and click next -> Give it a name, for

    example Mac or MacOS and click next -> one processor and click next -> set the memory to 512 mb and click next (you can change this later) -> Use NAT and

    click next -> Check SCSI Adapter: LSI Logic (recommend) and click next -> create a new virtual disk and click next -> Use IDE and click next -> Set the new

    virtual disk size to 16gb or bigger, click next -> next -> finish. Your virtual computer is now complete and ready for use.

    4) When you click finish, the Iatkos iso will load. Wait for the prompt to show up, click in the screen to direct input it and press F8. This will allow you

    to set some boot commands. Type (without the ""): "-v busratio=7 cpus=1" and press ENTER. Wait for the installation screen to show.

    5) When it's loaded, click on utilities in the top bar and then Disk Utility. Now it will examine the disks available. On the left you will see a disk.

    Right-click it and click Erase. From the drop-down menu select Mac OS Extended (Journaled) and name your disk whatever you want, I used "Mac", then click

    Erase. You new disk will appear at the left menu as part of the virtual disk. Close the disk utility by clicking on the red button in the left corner.

    6) The installation will snow up again. Click next and accept the terms. Select the disk you just made and click continue. On the next screen, click on

    customize, NOT on install (yet). A list of drivers will show up. Select the following drivers:

    -> x86patches - kernel - voodoo 9.7.0
    -> drivers - system - sata/ide - intel sata/ide (or if you have AMD, use amd sata/ide)
    -> drivers - ps2 mouse/keyboard - voodoo ps2 driver

    Then click done and install. Skip checking the disk as it's only a waste of time.

    7) Get something to drink, go out or do whatever you want, this will take a little while...

    Please Register or Log in to view images



    8) When it's done, click restart. When it boots, click F8 and type "-v busratio=7 cpus=1" (if that doesn't work try "-v -f busratio=7 cpus=1", the -f command

    didn't seem to work for me). It should boot now. You will have to configure your MAC in the first steps.

    9) Go to the Iphone development center site or use your USB to install the Iphone SDK. This will also take a while...

    Please Register or Log in to view images



    10) Done? Congratulations! You now have a Mac in windows with the Iphone SDK installed! If you want a faster version, you can make a dual boot with Iaktos

    but Im not going to explain how to do that.
  2. bobby681

    bobby681 Active Member

    Joined:
    Jun 24, 2008
    Messages:
    2,588
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    The only problem with running it in VMWare is that it takes so long to do anything its almost not worth it
  3. devos50

    devos50 New Member

    Joined:
    Jul 25, 2009
    Messages:
    22
    Likes Received:
    0
    Device:
    2G iPod touch
    True, but this is very good if you really want to program with Xcode on a Windows. Besides that, you can switch very fast between mac and windows

    Please Register or Log in to view images

    . I like it and definately going to use it!
  4. Collateral

    Collateral Active Member

    Joined:
    Sep 23, 2007
    Messages:
    1,974
    Likes Received:
    6
    Device:
    iPhone 3GS (Black)
    I have a feeling that a tutorial on pirating the mac os will get you banned....


    But anyway. Nice tutorial.
  5. mohaas05

    mohaas05 New Member

    Joined:
    Jan 31, 2009
    Messages:
    1,260
    Likes Received:
    0
    Device:
    4G iPod touch
    For some reason (I'm not sure why), OSx86 appears to be allowed here.
  6. Bl00dr4g3

    Bl00dr4g3 New Member

    Joined:
    Jan 27, 2009
    Messages:
    313
    Likes Received:
    0
    Device:
    iPod touch
    theres a tone of downloads on that page, which one do we download?
  7. Jacob

    Jacob Well-Known Member

    Joined:
    Mar 2, 2009
    Messages:
    4,943
    Likes Received:
    122
    You should add in the beginning to turn on virtualization in the bios

    Please Register or Log in to view images

    It helps speed.
  8. johnmabassa

    johnmabassa Member

    Joined:
    Mar 16, 2009
    Messages:
    87
    Likes Received:
    0
    Wow!! nice tutorial... I always wanted to develop some app on windows ( lack of money to buy even a Mac Mini

    Please Register or Log in to view images

    ), I was doing a lot of research and most of the steps that I found was really lengthier and difficult, but this seems to be ok.....

    One more question? Is this for Windows Vista or XP ?

    Here is one that I have found Install Leopard but not sure whether SDK will work.

    -John
  9. devos50

    devos50 New Member

    Joined:
    Jul 25, 2009
    Messages:
    22
    Likes Received:
    0
    Device:
    2G iPod touch
    Unfortunately it's very slow

    Please Register or Log in to view images

    , im still looking for a solution for this. What i've done is making a second partition and install the Iaktos on that. It runs very fast now

    Please Register or Log in to view images

    . When installing it, make sure to select the right drivers and kernels, otherwise it possibly won't boot.
  10. Collateral

    Collateral Active Member

    Joined:
    Sep 23, 2007
    Messages:
    1,974
    Likes Received:
    6
    Device:
    iPhone 3GS (Black)
    It'll work with vista or xp. Its all windows.

Share This Page