GitHub user devgeeks opened a pull request:
https://github.com/apache/incubator-cordova-ios/pull/25
Fixes CB-1004 - $PROJECT_NAME is never set in iOS command line
cordova/debug tool
Uses $file from previous line (which is fragile in and of itself due to the
possibility of a subproject, but anyway...)
```Bash
for file in *.xcodeproj; do
PRJ=$file
PROJECT_NAME=$(echo $file | awk -F.xcodeproj '{print $1}')
done;
APP=build/Release-iphonesimulator/$PROJECT_NAME.app
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/devgeeks/incubator-cordova-ios CB-1004
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-cordova-ios/pull/25.patch
----
commit 5471318934c833213cbca6cad0ffc1b272f0cc34
Author: tommy-carlos williams <[email protected]>
Date: 2012-07-04T00:55:50-07:00
Fixes CB-1004
----