I am also a completely new PhoneGap in this world, and I had the same issue with the iOS version.
Make sure you are using version 2.0.0, as version 2.0.1 is currently missing a .pkg file. Follow the instructions at Phonegap.com.
When you run ./create /user/myhome/documents/HelloWorld com.mydomain.HelloWorld HelloWorld
and open HelloWorld.xcodeproj
, select the HelloWorld
project, then go to Targets
, click on HelloWorld
, then go to the Build Phases
tab. Expand the Target Dependencies
parameter. There must be a CordobaLib
item listed, and if there is one, delete it and add it again.
It took me a few hours to find out, hope this saves others time!
source share