apache/incubator-cordova-ios — pull request #42 by jgranick (2012-08-08 15:34:03+00:00)
Title: Fix compatibility with xcodebuild

Hi!

I am building applications with Cordova using the command-line. Unfortunately, the HEAD revision of the project worked properly when running manually under Xcode, but failed to compile when using xcodebuild or the Cordova "debug" shell script from the command-line.

These were the minimal changes which allowed me to compile from the command-line. In order for this to work, I call xcodebuild on the CordovaLib project and then xcodebuild on my generated project.

I will not be offended if you decide to fix the issue in a slightly different way. I just want Cordova to work out of the box, so the next person won't have trouble :)