Passion Factory

Playground Of Syaiful Bahri

So, That's New iOS Phonegap Works

Just curious, i’m not talk about kind of web development way to build iOS app, because for any reason i’m move to native development, this evening my friend tell me that my article about using phonegap development to build iOS app is not work again on new phonegap version, after browsing on phonegap site on developer getting started guide section, yeah there were new kind of method to make iOS based phonegap work, and here’s the method

  1. As usual, you must download new phonegap version here

  2. Extract to your own directory

  3. Make sure that you have Xcode & Xcode command line tools installed, you can find it on Mac App Store

  4. Phonegap for iOS location is on lib/ios

  5. Lauch terminal, move your directory to bin folder location on your phonegap extracted app

Lets write thing

./create <project_folder_path> <package_name> <project_name> then press "Enter"

See my code below for detail

./create /Users/tragicidea/Desktop/HelloWorld org.apache.HelloWorld HelloWorld

Open the project folder as you describe above

Open your Xcode Project File, then run it on simulator

When you’re ready, you gonna have this

Comments