Friday, December 7, 2012

Getting Started with Apache Cordova for iOS

There are several "Getting Started" guides for PhoneGap on iOS, which can be very confusing.  One of the most confusing things about it is that there are several on the PhoneGap site alone!!  docs.phonegap.com has an iOS "Getting Started" guide for PhoneGap 2.0, 2.1, and 2.2, and who knows how many others.  When you do different Google searches, any one of those can come up in the results and it isn't immediately obvious which version it is for.  So confusing!

The latest version of PhoneGap at this time is 2.2, so of course I want their Getting Started with iOS for Apache Cordova 2.2 document.  Unfortunately this document is clearly written for people who are comfortable using a Mac, and probably also XCode.  The only reason I own my Mac is to make this iOS version of MonsterCache.  I'm definitely not comfortable on the Mac or in XCode and the guide was not really helping me much.

Thank goodness I found the Getting Started with Apache Cordova 2.2 for iOS document by Becky Gibson.  This is a MUCH better iOS PhoneGap tutorial for many reasons:

  • it actually explains how to do things on the Mac that a Mac novice like myself wouldn't know (like where to find the Terminal app)
  • it has pictures!
  • it has a link to a zip file that has both the regular Cordova files and also the needed CordovaLib, which I could not understand where that came from when reading Cordova's guide
So now I was able to get my first HelloWorld Cordova iOS app built with no errors at all.  I'll try to port over my Android app tomorrow (gulp).  Thanks Becky!

No comments:

Post a Comment