Create an iPhone PhoneGap application in 2 easy steps
Based on Jesse’s work on PhoneGapLib, I created a PhoneGapLib installer that will install the lib unto your computer, but most importantly, it will set a Xcode global variable to allow the PhoneGap Xcode template to work. The PhoneGapLib installer will also install a PhoneGap Xcode template.
Creating a PhoneGap iPhone project has never been easier. This way also, if PhoneGap core is updated it will not affect your code. The main parts of the code should already be checked-in (see Jesse’s post for the url). This is a work in progress. [Updated: Download a preview version]
To download the code and build the installer, go to http://github.com/phonegap/phonegap-iphone and read the README.md for build instructions. No binaries are provided at this time.
See screencast below:
Let me be the first to say: “Sweet!”
Things just keep getting better, good work.
Jesse
October 30, 2009 at 12:55 am
[...] This post was mentioned on Twitter by xno??? u???q, Shazron Abdullah. Shazron Abdullah said: Create an iPhone @phonegap application in 2 easy steps http://bit.ly/21N2Hi [...]
Tweets that mention Shazron @ Nitobi » Blog Archive » Create an iPhone PhoneGap application in 2 easy steps -- Topsy.com
October 30, 2009 at 9:22 am
This is a great idea! I think this will simplify the process quite a bit (though it’s already pretty easy to begin with).
What happens with backward compatibility when installing a new lib over an older project that relies on an older version of PG? I don’t imagine we’ll have many difficulties with incompatible code, but then again – this is software.
Cameron Perry
October 30, 2009 at 9:51 am
That’s a good question. If there are major changes, I would think the lib and template will be versioned (eg the lib will install to PHONEGAPLIB20 for example, and the Xcode template will be a PhoneGap 2.0 based template).
shazron
October 30, 2009 at 10:16 am
Fantastic work Shaz. This is getting better with each day.
sintaxi
October 30, 2009 at 10:09 am
Social comments and analytics for this post…
This post was mentioned on Twitter by Shazron Abdullah: Create an iPhone @phonegap application in 2 easy steps http://bit.ly/21N2Hi…
uberVU - social comments
October 30, 2009 at 10:15 am
I updated the blog post to include a download link to a preview version of the PhoneGapLib installer. Enjoy!
Note: That if you run it twice (just cos), it will say the installation failed. This is because the so-called “upgrade” can’t overwrite the Xcode template for some reason. First-time install should work.
shazron
October 30, 2009 at 12:56 pm