Archive for March 2011
UPDATE: PhoneGap 0.9.5.1 includes the Xcode 4 template now, download it from phonegap.com
Currently the PhoneGap installer for iOS does not create an Xcode 4 template. The issue is tracked here.
I’ve created a shell script to create a PhoneGap project from the command line. You will still need PhoneGapLib installed – download the installer from http://phonegap.com and run it first.
Instructions are in the shell script itself (open it up in a text editor). View the script, then File -> Save As… to save it. [For Cordova – replace occurrences of ‘PhoneGap’ in the value for the path with ‘Cordova': https://github.com/apache/incubator-cordova-ios/blob/1.0.0/create_project.sh#L41]
Cameron Perry has a good post about using PhoneGap with Xcode 4 that might solve some problems users might have.