How to create a PhoneGap project for Xcode 4.5

Once you’ve downloaded the latest version from, unZIP it and copy the resulting folder to a safe directory (i.e. don’t leave it in your Downloads folder… duh!)

You’ll create a fully fledged Xcode project from the command line. Make sure you cd into the directory where the create script resides. Contrary to the “Getting Started with iOS” guide on the PhoneGap website, there is nothing that’s called “incubator”. Instead, navigate to the following directory:

Next issue the following command to create a new project:

After a few seconds the deed is done. You need to supply three parameters with the create script:

  1. your project folder (full path)
  2. your project’s Bundle Identifier in reverse-domain notation (i.e. com.versluis.myproject)
  3. and your project’s title

Once created you can open it in Xcode and run on both in the simulator and on a device.

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.