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





80 comments:

  1. Hi

    Tks very much for post:

    I like it and hope that you continue posting.

    Let me show other source that may be good for community.

    Source: Great iphone apps - tips and tricks - wallpaper - themes

    Best rgs
    David

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

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

    ReplyDelete
  4. Hi there,

    Thank you so much for this post. It's really wonderful!!

    I have followed it accordingly but every time i power on the virtualization it gives me error as "insufficient permissions" i need your help!! I love mac os hence want to run it virtually on my win 8 laptop... Pls do reply me @ thatspasha@yahoo.com

    I look forward to your reply :-)

    ReplyDelete
  5. 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. thank you so much for your swift reply!! i checked with your suggestion. Mine is a administrator account so the parental controls doesn't imply on it!! It'd would be a great help if u can remote control my laptop and solve it!!!

      Please reply at your convenience directly to my email ID: thatspasha@yahoo.com.. I'll send you teamviewer ID and password for remote connection!!

      Awaiting your reply sir!! thanks for your time :-)

      Delete
    2. 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
  6. 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
  7. 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
  8. It says unable to open! insufficient file permission!

    ReplyDelete
  9. i found a fix

    right click on the file and goto properties then uncheck readonly

    ReplyDelete
  10. 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
  11. This comment has been removed by the author.

    ReplyDelete
  12. 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
  13. 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
  14. 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
  15. hi...Im student from Informatics engineering nice article,
    thanks for sharing :)

    ReplyDelete
  16. 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
  17. 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
  18. A Windows 7 driver is really amazing product. And it works really awesome. We can install easily ....Keep it up!!! -

    To get Window 7 Support,Please visit the link.

    Thankyou
    Lacy Brown

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

    ReplyDelete
  20. Does any body installed without fail ?

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

    ReplyDelete
  22. I have the same mach_kernak error as Hardik

    ReplyDelete
  23. 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
  24. 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
  25. Is showing the message below:

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

    How can I fix it?

    Thank you!

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

    ReplyDelete
  27. 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
  28. 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
  29. this works only for windows 7 or higher or any version of windows OS?

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

    ReplyDelete
  31. 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
  32. Thanks for review, it was excellent and very informative.
    thank you :)

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

    ReplyDelete
  34. 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
  35. 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
    Replies
    1. if you got any solution plzzz let me knw
      email: a.rehmanhameed@gmail.com

      Delete
  36. 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
  37. Thanks for your ideas. You can also find the details on Affity Solutions, at the
    Iphone Development. The main object of the Affity Solutions is to provide quality web services and is among the
    few software development company in Nagpur.

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

    best calling card

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

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

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

    ReplyDelete
  42. 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
  43. Thanks for informing about SDK & X-code. Keep updated with windows free software downloads

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

    ReplyDelete

  45. 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
  46. 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
  47. Easy and very helpful guide to install ios SDK & X-code on windows 7. PC Software Download

    ReplyDelete
  48. Apple Trade In AppleShark is one of the best places to sell your iPhone or other Apple device. It doesn't matter if your iPhone is old, has a cracked screen, or wont turn on. If you have an iphone to sell, appleshark will make you a competitive offer. When you have an Apple product that you want to get rid of, you have two choices: you can sell or recycle. As a re-commerce service, appleshark specializes in buying Apple products you don't want anymore. You can sell your iPhone, iPad, iPod, Mac Apple TV, or virtually any other Apple device that you can name.

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

    ReplyDelete
  50. Hello nice blog im from newcastel i found this on yahoouk I seen it on the top ten searches i found this blog very interesting good luck with it i will return to this blog soon

    amazon coupon code

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

    ReplyDelete
  52. Silicon IT Hub stays innovator in offshore iPhone application development India with skilled and experienced iOS development team that takes care of your varied iPhone and iPad application development projects.

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

    Web Designer

    ReplyDelete
  54. iPhone 7 32gb - R$7.299
    iPhone 7 64gb - R$7.599
    iPhone 7 128gb - R$7.899
    iPhone 7 256gb - R$8.299
    Check out the the details of iPhone 7 Pro Release Date

    ReplyDelete

  55. very nice blog. I like this summary. Very useful information.
    You are right. best Apple product in delhi, pre-booking iPhone7 iselectstore

    ReplyDelete
  56. 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
  57. I really enjoyed while watching this awesome and interesting blog. Thanks for sharing with us.
    Windows 7 to 10 Migration
    SCCM Migration

    ReplyDelete
  58. 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
  59. It's really informative! Thanks for the great article.
    Hvantage Technologies is leading Mobile application development , and Web Development Company in USA offering various integrated IT Services including Ecommerce Solution, SEO Services & Digital Marketing Services.

    ReplyDelete
  60. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article...very interesting to read..
    please sharing like this information......
    Android training in chennai
    Ios training in chennai

    ReplyDelete
  61. These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.
    Mobile App Development Company
    Mobile App Development Company
    Mobile app Development Companies

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

    ReplyDelete
  63. Nice blog.. Thanks for sharing informative blog.. I just want to say that all the information you have given here is awesome...great and nice blog thanks sharing.iphone app development, ios developers india

    ReplyDelete