Original article address:How to use virtual machine (VMware) for iPhone Development
Author:Weishi Studio
I think many people, like me, want to develop the iPhone on a PC, instead of buying a Mac host. But the iPhone
SDK and xcode can only be installed on Mac OS, so that iPhone development has certain limitations.
There are two solutions. One is to install a Mac OS on a PC.
X system, you can find a lot of installation tips on the Internet, but whether the installation is successful depends on your machine configuration and luck, and even if the installation is successful, various hardware drivers will also cause you a headache.
Another solution is to use a virtual machine to install Mac OS X and then install the iPhone.
SDK development environment. This article briefly describes the installation steps.
First of all, you need to install a VMware Mac OS system. Fortunately, someone on the Internet has helped you complete the VMware Mac.
In the OS system, all you need is to download it and run it directly. You can search for it under verycd. Here is the link I found:
Http://www.verycd.com/topics/2746139/
Then you need to download the latest iPhone SDK from Apple (xcode is included );
Http://developer.apple.com/iphone
When you prepare for installation with hope, you find that the downloaded iPhone SDK cannot be installed on the VMware Mac
Why?
Read the README file of the iPhone SDK carefully and find that the iPhone SDK requires Mac OS X
For Versions later than 10.5.7, the downloaded VMware Mac OS version is 10.5.5. The version does not match. Of course, it cannot be installed?
Is it true that you cannot install it?
No, we need to cheat the installationProgram, Modify the version attribute file of Mac OS:
/System/library/coreservices/systemversion. plist
Replace all the words 10.5.5 with 10.5.7 and save them. (Note that this directory is read-only and you need to modify its attributes to save it)
Continue. Can I install the iPhone SDK?
After the installation is complete, run one or two sample programs, which are completely OK.