Wednesday 26 September 2012

Installing iOS SDK and Xcode on Windows 7

Mac on Windows + ios SDK & X-code on windows 7


X-code SDK - Hardik patel's Blog img 1


The TechExxpert guide has been updated to fully allow Xcode 4.1 to work.  that the past fixes did not work. 



 Please let me know if this guide works/doesn't work.This guide has been modified ..





Apple has been adamantly refusing to create an iPhone SDK support for Windows-based machines. Luckily, there is a work around to be able to fully run the iOS SDK and Xcode support for most all PC's.

The following steps involve installing a virtual machine on your PC, updating the virtual machine to 10.7 , then running the machine and downloading and installing the iOS SDK and Xcode on to the virtual machine.

There are other ways to install OS X on your machine but they involve creating a new partition and installing the Operating System directly to your hard drive. Those ways are much harder and have more confusing steps that could potentially damage your computer. This method is easier and safer to use. 

The process will take 2-3 hours, but most of the time is consumed by large downloads. There's no software to buy or developer fees to pay.



PROCEDURE 

1.    Follow the steps   : here to download and install a virtualized version of OS X Lion on your PC.

__________________________________________________________________________________

2.   If you don't have a free Apple Dev Account, create one here.  You'll need this to be able to download Xcode 4.1 for free. In OS X, open the App Store and download Xcode. You can view progress of the download under the Purchases tab.








__________________________________________________________________________________

3. Once the progress bar is finished, it will say it is installed but it really isn't. Open the Applications folder from Finder. Double-click on the Install Xcode icon













__________________________________________________________________________________


4.  Follow the on-screen directions then wait for the installation to finish.








__________________________________________________________________________________

5. Once it's done, it should open by itself. If it doesn't, you will NOT find the iPhone SDK in your dock. You will need to open your hard drive. Then Click on Developer, then on Applications.













__________________________________________________________________________________

7. You will now see an icon for Xcode, click it and you can start coding applications.

__________________________________________________________________________________


 Here to download and install a virtualized version of OS X Lion on your PC


Requirements

A laptop or desktop computer that supports virtualization (most newer computers do).
At least 1 GB of RAM (the more, the better).

VMWare Workstation (this is a paid program but a little research will get you it for free).

VMWare Hard Drive (vmx files, it is in a self-extracting .exe file)

OS X Lion (VMDK File) 

Instructions
Before you start, make sure that you have enabled Virtualization in the BIOS of your computer. This is usually disabled by default by computer manufacturers.

Steps: 

 Video tutorial :   Available  
__________________________________________________________________

1. From the file downloaded, double click on Mac OS X Lion VMware Files.exe. Click Run thenYes. This will decompress the files.

2. Once done, a folder named Mac OS X Lion VMware Files will appear, double click it.


3. You will need to follow the instructions in this video to unlock VMWare. Instead of using the files from the video, use the files from Step 2.


4. From Step 1, you should have also gotten a folder named Mac OS X Lion. Open that up and open the file named Mac OS X Lion.vmx. Double-click this file. It will open in VMWare Workstation.

5. On the left column, click on Edit Virtual Machine Settings. In the Memory tab, you can edit how much RAM OS X will get. In the Sound tab, change to Specify host sound card, change it to your sound card. After the machine has started and sound doesn't work, change to Use default host sound card


6.  At the bottom of the box is an Add button, click it. Select Hard Disk from the left, click Next. Choose Use and existing virtual disk.

7. Browse for the Mac OS X Lion Installer.vmdk that was downloaded from the torrent. ClickFinish. Click OK to close the box.

8. On the left column, click Power on this virtual machine.

9. If a box asks to repair the image, click Repair. Once the box comes up, click I copied it, clickOK. A message about the CD Drive may come up, just click OK.

10. The machine should power up in a few moments, ready to go. For ease of use, click in VMWare Workstation, click File > Add to Favorites.

11. You should now have a Install Mac OS X screen. At the top, click Utilities then Disk Utility. Select the 42.45 GB Hard Disk. Click on the Erase tab. Now you can name your hard drive what you want. Then click on Erase. Click Erase again.

12. Once the process is done, close out of the Disk Utility box, the Install screen will come back up. Click ContinueAgree. Select the 40GB Hard Disk to install Lion. Click Install. The process will take about 30 minutes. Once it's done, the account setup will start. Once that's done, Lion will start.

13. To be able to use the machine in full screen, in OS X open Preferences, click on Displays. Now select the resolution of your monitor. Now in VMWare, click on the Full Screen button on the toolbar (10th button from the left).

14. Now you're done, you can use this OS as a normal to install programs.


________________________________________________________________




Video tutorial  



 bytechexxpert 

Virtualize OS X Lion 10.7 Windows 7



copyright holder : techexxpert 

For educational purposes only.
"Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use." 





81 comments:

  1. Hi, Should we make special hard disk partition for this?

    ReplyDelete
  2. hello > yes , of course you can make partition for this , but remember thats is not mandatory .

    ReplyDelete
  3. hi buddy , as you describe your problem i can find that your administration permission of windows machine could might be secured privet at parental control & security and safety . change it to normal mode . let me know how will it go >

    ReplyDelete
    Replies
    1. Everyone faces the same prob "insufficient permissions to access file" please help us php_blogger !!

      Desperate to use OS X on my laptop :(

      looking forward to your reply Sir!!

      Delete
  4. as per your step of method ,till 9 step every thing is follow .but whenever machine on it shows error as "insufficient permissions to access file", even parental control is normal.

    what exactly the problem is ,please any alternate method to install same os file.
    my system is i3 ,intel,sony vaio. os -window premium

    i am using vmware 9.0.21

    ReplyDelete
  5. hello
    I downloaded vmware workstation 9 and other files proceeded all the steps but when i clicked power on for the virtual machine it says that "Insufficient permission to access file." please help!
    e-mail id: ironmanoj5@gmail.com please help!

    ReplyDelete
    Replies
    1. I have the same problem. Did you solve?

      Delete
  6. It says unable to open! insufficient file permission!

    ReplyDelete
  7. i found a fix

    right click on the file and goto properties then uncheck readonly

    ReplyDelete
  8. Thanks for the suggestion @joshie.

    Now a new error occurs: Transport (VMDB) error -44: Message.

    The VMware Authorization Service is not running.

    Can anyone pls help us?????? Excited to run OS X in my laptop but helpless :( because of the error!!!

    Pls help guys!!

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. CPU has been disabled by guest operating system..

    3rd Gen i7
    12GB Ram
    VMware Workstation 7.1.x

    ReplyDelete
    Replies
    1. Nevermind.. Got it working..

      open .vmx file with notepad++ and add following lines at the end:

      cpuid.1.eax = "0000:0000:0000:0001:0000:0110:1010:0101"

      If it helps...

      Delete
  11. Hello all,
    I am almost done with the hard part. but when i click 'run' in VM machine. i am getting following. please help. thank you.

    https://www.dropbox.com/s/rka0uas6342auuy/Untitled.png

    ReplyDelete
  12. and it top of that. it quickly shows that

    could not open file 'mach_kernel'
    it goes very fast, however i am still manage to capture some part of it as below.

    https://www.dropbox.com/s/pfkh5tp6g05rva3/Untitled1.png?m

    ReplyDelete
  13. Hi, Thanks your blog is very helpfull..

    I have installed I can vmware and apple logos at that start of start but I can't abl to see the screen which help us to install XCode..

    Can you please help, Thanks in advance!!!!!!!1

    ReplyDelete
  14. Hello,

    I am still getting the same message as everyone else about the permission. My reony box was already unchecked. any help would be great.

    Email: amfranks17@gmail.com

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. Does any body installed without fail ?

    ReplyDelete
  17. For my parts, I always get an insufficient permission error. I play with the permission option but I can't make it working

    ReplyDelete
  18. I have the same mach_kernak error as Hardik

    ReplyDelete
  19. Unable to open kernel device "\\.\Global\vmx86": The system cannot find the file specified. Did you reboot after installing VMware Workstation?

    Failed to initialize monitor device.




    This is the error i get. Help!
    amanbhuyan20@gmail.com

    ReplyDelete
  20. hi all , i followed your steps exactly as you discriped in your blog but when i power on the machine i got this message "there was a problem installing mac os x"
    my email is rani_575@yahoo.com i will appreciate any help.
    thanks in advance
    Rania

    ReplyDelete
  21. Is showing the message below:

    There was a problem installing "Mac OS X"
    Try reinstalling.

    How can I fix it?

    Thank you!

    ReplyDelete
  22. error help please 'THERE WAS PROBLEM INSTALLING MAC OS X " TRY REINSTALLING AND THE INSTALLER IS NOT COMING ON SCREEN

    ReplyDelete
  23. If you are looking for up-to-date guide on latest OS X 10.9 Mavericks and Xcode 5 on Windows 7 or Windows 8, check this guide

    http://www.sysprobs.com/how-to-install-xcode-5-on-windows-7-windows-8-8-1-ios-sdk

    Its very similar to the way its explained on this article but with latest versions. Have a look at it.

    ReplyDelete
  24. I had the same problem. I'm trying to install OS X MOUNTAIN LION in VMware Workstation 8.3 for Windows. In the end, when I try to run the virtual machine an error telling me that I have access denied for insufficient permissions. I'm already working as an administrator. Have click Run as administrator. I've tried changing the READ ONLY and the system allows not change. I believe not change by being in the mounted image. I think it must be some locking system that is not allowing.
    What can I do??
    I'm waiting.
    Thank you very much.
    Tomas

    ReplyDelete
  25. this works only for windows 7 or higher or any version of windows OS?

    ReplyDelete
  26. This comment has been removed by the author.

    ReplyDelete
  27. that was removed because unchecking the read only checkbox worked, but now i get a funny kernel error!! same as Hardick up there. how can this be fixed, any ideas
    thanks

    ReplyDelete
  28. This comment has been removed by the author.

    ReplyDelete
  29. Is showing the message below:

    There was a problem installing "Mac OS X"
    Try reinstalling.

    How can I fix it?

    Thank you!

    email: hssl80@hotmail.com

    ReplyDelete
  30. Hi,
    I am not having any acknowledgment or any other screen message since 5 hours.It is showing me blank page during installation of vmdsk.(After step 9) .Can anyone please tell me how will be I acknowledged about the completion of installation or how much time it takes to complete the installation.
    Thank you!
    email: devolphp@gmail.com

    ReplyDelete
  31. Sir I am seeing an error while running vmware.The error is given below
    Mac OS X is not supported with binary translation. To run Mac OS X you need a host on which VMware Workstation supports Intel VT-x or AMD-V.sir please help me I have to do my college projects

    ReplyDelete
  32. Hey, just wanted to drop in and say thanks for providing this excellent info! Thank you!

    best calling card

    ReplyDelete
  33. how to use this in vmware workstation 10??? plzzzzzzz help me

    ReplyDelete
  34. Sir . . . . .help me with this in working it on the vmware workstation 10x plzzzzzzzzzzzzzzzzzzzzzzzzzz . . .. . . reply me

    ReplyDelete
  35. Thanks for sharing this informative blog post. It is really helpful for beginners who just started learning. Keep posting .... !

    ReplyDelete
  36. I want to share with you guy's you can create an application and games too to your Iphone and or ipad not only create apps but you earn money too its just sound great.To Discover How To Create An Iphone Or Ipad App&game just see the link.


    facebook apps cost
    iphone apps cost

    ReplyDelete
  37. Thanks for informing about SDK & X-code. Keep updated with windows free software downloads

    ReplyDelete
  38. this is very nice method to install ios SDK & X-code on windows 7.
    free downloads free software

    ReplyDelete

  39. Inbound Technical Support call | Call at: +91 981-142-0083 | inbound calls for tech

    support | tech support inbound calls A great online marketing company for tech support inbound calls, Inbound Technical Support call by osiel web

    ReplyDelete
  40. Inbound Technical Support call | Call at: +91 981-142-0083 | inbound calls for tech support
    | tech support inbound calls A great online marketing company for tech support inbound
    calls, Inbound Technical Support call by osiel web

    ReplyDelete
  41. Easy and very helpful guide to install ios SDK & X-code on windows 7. PC Software Download

    ReplyDelete
  42. Your guide is very easy and helpful. Thanks.
    I don't have virtulization on my PC. So this virtual machine will not work?

    ReplyDelete
  43. Thanks for sharing this post with pictures

    Best Music Players For Android

    ReplyDelete
  44. nice post for more info about Windows support windows call at 1-855-288-0082

    ReplyDelete
  45. Really Nice Information about Installing iOS SDK and Xcode on Windows 7.. i like it

    Web Designer

    ReplyDelete
  46. Your posts is really helpful for me.Thanks for your wonderful post.It is really very helpful for us and I have gathered some important information from this blog. so keep sharing..

    iOS Training in Chennai

    ReplyDelete
  47. I really enjoyed while watching this awesome and interesting blog. Thanks for sharing with us.
    Windows 7 to 10 Migration
    SCCM Migration

    ReplyDelete
  48. Hi,
    I really like your video,photo.
    Thanks for sharing such great information. It is very informative and provides knowledge of Mobile App Development.Visit Here: IOS Applications Development in Bangalore.

    ReplyDelete
  49. xcode for windows download Thank you for sharing such an amazing article with us.

    ReplyDelete
  50. Hai Author Good Information that i found here,do not stop sharing and Please keep updating us..... Thanks. hire iphone app developers

    ReplyDelete
  51. Very excellent information can be found on weblog . my link

    ReplyDelete
  52. This is a very good tip especially to those fresh to the blogosphere.
    Simple but very precise info… Thanks for sharing this one
    Mac App Development Company

    ReplyDelete
  53. Appers – We have the super iOS Development team in world! Offering iPhone App Development Service in Melbourne & Brisbane.

    app developers sydney

    ReplyDelete
  54. Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  55. Great tutorial man. Thanks for your effort. But what about something more advanced, e.g. multiboot USB drive with Win7, WinXP and some Linux distros without any application, only from command line. Doesn’t matter whether linux or windows command line. Could you prepare some tutorial also for this? I guess it’s a sufficient challange 😉
    latest cricket news

    ReplyDelete

  56. This is great blog it’s provide lot of informations when i read this blog i really glad Thanks.

    Mac App Development

    ReplyDelete
  57. This comment has been removed by the author.

    ReplyDelete
  58. I enjoyed over read your blog post. Your blog have nice information, I got good ideas from this amazing blog. I am always searching like this type blog post. I hope I will see again. ios app development in Dubai

    ReplyDelete
  59. One of the key features said to be coming to
    the HomePod is the ability to make or receive phone calls
    Read More At ios Online Training

    ReplyDelete
  60. This comment has been removed by the author.

    ReplyDelete
  61. Great Post!
    Thanks a lot for sharing!
    I found this blog to be very useful!!
    JAVA training in Bangalore

    ReplyDelete
  62. Thank you for your guide to with upgrade information

    Swift Course

    ReplyDelete
  63. Really very happy to say, your post is very interesting to read. I never stop myself to say something about it. You’re doing a great job. Keep it up…

    Get Business Analyst Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech.

    ReplyDelete