We all know that Mac is needed to develop mobile apps for iOS platforms such as iphones, but Macs are expensive, so we can use VMware to install Mac OS on Windows7 to simulate the iOS development environment to reduce costs.
1. Related configurations
Operating system: Windows7 flagship edition
Work Station:vmware10
Mac operating system: OS X 10.8
2. Related Resources
(1) VMWare10 more resources, you can download their own online
Http://www.xp510.com/xiazai/ossoft/desktools/22610.html
(2) OS X 10.8
http://download.csdn.net/detail/tianxuexuankui/6838565
(3) Mac patches on VMware
http://download.csdn.net/detail/tianxuexuankui/6838579
(4) The DMG format is converted to the ISO format tool UltraISO
Http://www.cngr.cn/dir/209/271/2009032738116.html
3. Installation process
A. Installing VMware
Detects if the CPU supports the Virtualization Detection Tool Securable.exe
I'm Lenovo's machine, Win 7,
Detects a
Indicates the shutdown state (Locked off does not indicate whether the CPU is supported, support is not supported, please go to the motherboard BIOS to see if there is a VT open switch, after opening, as shown as on the success, such as or off, which indicates that the CPU is not supported.
My setup process is as follows: Re-open--F1--BIOS--ADVANCED--CPU Setup--intel virtualization Technology--enabled--f10 Save exit.
Once you have downloaded the VMware installation package, you can install it directly.
B. Installing VMware's Mac Patches
After you download the patch file, unzip it. Open the Windows directory for the installation files and right-click Run as Administrator Install.cmd
C. Creating a virtual machine
After VMware is installed, select "File"---"New virtual machine" to enter the interface to create the virtual machine as follows
Select Custom and click Next
Select "Install operating system later" and click "Next"
Select "Apple Mac os X" on the operating system type, select 10.8 on the version and click "Next"
Set the name of the virtual machine and the path of the installation, click "Next"
After setting the number of processors, click Next.
Set the memory, and then next
Here, the network connection is best set as a bridge, so that you can and the physical machine to achieve the same network segment. Click Next
The next few steps can be set to the default mode
Set the capacity of the hard disk good, click Next
Default name, click Next
Click Done to end the creation
Use the downloaded tool UltraISO to convert the DMG-formatted Mac OS X file into ISO format.
1. Open UltraISO, load DMG
2. After opening the DMG, select Format conversion, select Standard ISO
After the ISO conversion is complete, right-click the virtual machine name you just created, select the Settings option, edit the virtual machine, associate the ISO file with the following:
Once all of the above has finished, click on the virtual machine to open it.
The first entry is the Apple logo interface, as follows
After a while, go to the language selection screen
Here I choose to be Simplified Chinese, then click the right arrow to go to the next step
Select Use the Disk tool inside the tool to partition
After you have set it up, name the partition
Select the partition you just created to format the data, as shown in the operation. Click on the lower right corner to erase
Close the partitioning tool and choose to reinstall OS X
Click the Continue button
Select the consent terms to enter the next setting
Select the partition you just created and click Install options to install it
The installation process takes about half an hour, and after the installation is complete, it's easy to set up, including the power-on password, Apple ID, and icloud, find my Mac, and more. You can go to Mac OS X 10.8 os. The interface is as follows
After installing the Mac operating system, open the inside browser can go directly to the Apple's official website, search in the website Xcode can go to Xcode's download interface
It is important to note that not all Xcode is available, and that Xcode and Mac OS X operating systems need to be matched to each other, depending on the situation below
Xcode and Mac OS X correspondence
Build iOS development environment under Windows (i)