Common @ApacheCordova commands

Build a project

/path/to/my_new_cordova_project/cordova/debug

Launch emulator

/path/to/my_new_cordova_project/cordova/emulate

Start Logging

/path/to/my_new_cordova_project/cordova/log

PhoneGap iOS Simulator

The PhoneGap team offers an easy to launch Apple's iOS simulator by:

Download

Download iOS simulator package

Change Directory

cd /path/to/ios-sim/package

Build and install from the source root

rake install prefix=/usr/local/

Start emulator

/path/to/my_new_cordova_project/cordova/emulate

Create PhoneGap app in 4 steps:

Download

Download PhoneGap

Change directory

cd /path/to/phonegap-phonegap-xxxx/lib/ios/CordovaLib

Create

Create a call script, path to the app, package name, Main class name

Build

./path/to/cordova-ios/bin/create /path/to/my_new_cordova_project com.example.cordova_project_name CordovaProjectName

Resources