Before we start to do anything, you have to start by building the environment and the software tools, and making some minor configurations to get everything ready. The app itself will be simple, and outline the process of creating an app for PhoneGap and HTML5.
You need to download the Xcode software to get the project working.
For Apple users, the Xcode command-line tool, and the Apache Cordova product can be downloaded from: https://itunes.apple.com/us/app/xcode/id497799835?mt=12.
To get the command-lines tools for Xcode and other components, download them from https://developer.apple.com/downloads/index.action. You need to be a registered as an Apple developer to be able to download any extra components. A second and easier method for PhoneGap is to just download the software from the site and install it, as opposed to using the older, command-line way.
The following screenshot shows you Xcode in the iTunes Store: