Cordova lesson 6: Build the App

Build the App
By default, cordova create script generates a skeletal web-based application whose start page is the project’s www/index.html file. Any initialization should be specified as part of the deviceready event handler defined in www/js/index.js.

Run the following command to build the project for all platforms:

$ cordova build
You can optionally limit the scope of each build to specific platforms – ‘ios’ in this case: