Converting Your JavaScript App to an iOS App w/ PhoneGap
Blog post from PubNub
This blog post provides a comprehensive guide on converting a JavaScript app into an iOS app using PhoneGap, detailing two primary methods: the PhoneGap Build Cloud and the PhoneGap Cordova CLI. It outlines the necessary prerequisites, such as having an Intel-based Mac running OS X and registering for the iOS Developer Program, which involves downloading Xcode and creating necessary certificates and provisioning profiles. The PhoneGap Build Cloud method involves uploading a zipped web app and necessary files to the cloud, while the Cordova CLI method offers full development capabilities, including hardware API access and debugging tools, requiring installation of node.js and Cordova CLI. Additionally, the guide discusses setting up app icons, deploying the app to an iOS device, and using Safari for remote debugging. Overall, the post serves as a step-by-step tutorial for developers looking to port their JavaScript applications to iOS using PhoneGap.