Hi everyone,
The default generated project from the release or repository version of the iOS target for PhoneGap fails when building with xcodebuild.
It reports that it cannot find the Cordova headers, then it cannot find the libCordova.a library.
I've applied fixes in my own fork of the project:
http://github.com/jgranick/incubator-cordova-ios
Currently, I am calling xcodebuild once against CordovaLib, and once against my generated project. It is working great. It seems like building from Xcode automatically builds the child CordovaLib project, but not when using xcodebuild. Even the "cordova/debug" script fails for me.