Shazron's Cordova (aka PhoneGap) Blog

at Adobe Systems Inc.

Create an iPhone PhoneGap application in 2 easy steps

with 7 comments

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:

Written by shazron

October 29, 2009 at 7:48 pm

Posted in phonegap

7 Responses

Subscribe to comments with RSS.

  1. Let me be the first to say: “Sweet!”
    Things just keep getting better, good work.

    Jesse

    October 30, 2009 at 12:55 am

  2. […] 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 […]

  3. 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

  4. Fantastic work Shaz. This is getting better with each day.

    sintaxi

    October 30, 2009 at 10:09 am

  5. 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

  6. 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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,543 other followers

%d bloggers like this: