Table of Content
The node.js approach
You’ll need the node.js and npm installed.
Also you may need the ios-sim
brew package installed.
1$ mkdir <Project Folder Name>; cd <Project Folder Name> 2$ npm install [email protected] --save 3 4$ ./node_modules/.bin/cordova create . net.makzan.helloworld HelloWorld 5$ ./node_modules/.bin/cordova platform add iOS 6$ ./node_modules/.bin/cordova build iOS 7$ ./node_modules/.bin/cordova emulate iOS
This approach used local Cordova package instead of the global one from official doc. The reason is that local one allows us to specify version of each project.
What’s next? We’re going to take a look at “Project 9 – Company Informative App”.