In order to be ready to build a PhoneGap app it's mandatory to download and install the latest SDKs for each target platform of the app from the respective official websites:
BlackBerry 10 : https://developer.blackberry.com/html5/downloads/#blackberry10.
Firefox OS : https://addons.mozilla.org/en-US/developers/docs/sdk/Firefox-22/dev-guide/tutorials/mobile.html (experimental and available only with PhoneGap 3.x).
iOS: https://developer.apple.com/devcenter/ios/index.action.
Windows Phone : http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402523(v=vs.92).aspx.
Once the SDKs are installed it's recommended to install also the client for GitHub. GitHub is a social coding platform where you can find most of the cool open source projects (such as Apache Cordova), including access to the latest patches, builds, and sources.
For OSX users it is important to install also ios-sim. The ios-sim
tool is a command-line utility that launches an iOS app on the simulator. To install the tool, download it from GitHub, expand it, and launch a command line tool as follows:
$ curl -L https: //github.com/phonegap/ios-sim/zipball/1.3 -o ios-sim-1.3.zip$ unzip ios-sim-1.3.zip $ rake install prefix=/usr/local/
Depending on your privileges you may have to run the rake
command as an administrator (i.e., adding sudo
in front of the rake
command).