As title, in this post, i’m gonna show how to installing cordova 1.8 (also known as phonegap) on x code 4.3.2 for iOS development, and here my documentation about it.
Download cordova 1.8 here, extract then go to iOS folder, find cordova-1.8.0.dmg there then install
Now open x code ide, we gonna develop iOS app with this, select file - new - project than choose cordova based application
Just simply type your product name, company identifier and don’t forget to clear use automatic reference counting
On choose options for adding this file dialog, choose create folder reference for any added folder, and check name of your project
Change simulator type into iPhone 5.1 simulator on the left-top side X Code
Right click in your root project directory, choose show in finder than add www folder than contain your html, css & javascript file, don’t forget to copy cordova file js in this directory
Run your project
And here my result, how about you :-)