1. Install the latest version of Xcode in the App Store 6.02, install node. JS Environment, official website: http://nodejs.org/Click Install, will download the MAC installation package, normal installation can. 3, using the command (terminal) installation Cordova, official website: http://cordova.apache.org/Command Installation Guide: Http://cordova.apache.org/docs/en/4.0.0//guide_cli_index.md.html#The command-line Interface4, manually create a new empty folder, such as HELLO5, run the command to create a new project: $cordova Create Hello Com.example.hello HelloWorld The first parameter is the file directory path, the second parameter is the app ID, and the third parameter is title. 6, add the installation platform module for the project, this blog only describes the iOS module, run the following commandCD Hello
Cordova Platform Add iOS
7. Run commands to view available platforms and installed platforms
Cordova Platforms LS
8. Build the Project
Cordova Build iOS
Install Cordova under MAC OS Development compilation environment (I summarize, for reference only)