Many people use Windows, so virtual machine technology is used here
Operating system recommended Win7 64-bit
Recommended configuration, CPU i7, Memory 8G, recommended 16G, HDD SSD 240G, graphics card not required
1. Download and install Vmwareworkstation 10
Open the following Web site to download the JDK
2. Installing MacOSX 10.9
And the installation method refer to the following website
Click to open link
Click to open link
3. Install Xcode
Start Mac OSX 10.9
Full Screen display
Virtual machine configuration
Open the App Store (if you don't have an account, register yourself)
Search Xcode
Download
Installation
4. Install the node. js Download
http://nodejs.org
Installation
5. Install Cordova Open command line
Enter the installation command
sudo npm install–g Cordova
Wait patiently, the time may be long, about a few hours
If all goes well, the style will appear, congratulations on your installation success
If an error occurs, such as
Execute the installation command again: SUDONPM install–g Cordova until the installation is successful.
If an installation error occurs, repeat the installation command.
Cross-platform Mobile development Phonegap/cordova 4 iOS development environment building