You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/07/17 23:01:32 UTC
ios commit: debug cli tool - changed 'scheme' parameter to 'target',
set the configuration to Debug
Updated Branches:
refs/heads/master 69d8b81ac -> 1455987b5
debug cli tool - changed 'scheme' parameter to 'target', set the configuration to Debug
scheme and target have a 1:1 relationship in a new project. The scheme is only created on first run on Xcode, which is a problem for headless envs. The configuration is set to Debug because we are debugging (obvious?)
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/1455987b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/1455987b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/1455987b
Branch: refs/heads/master
Commit: 1455987b5efcf58e0f1864ed9aec7cdc981527f2
Parents: 69d8b81
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Jul 17 14:01:25 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Jul 17 14:01:25 2012 -0700
----------------------------------------------------------------------
bin/templates/project/cordova/debug | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/1455987b/bin/templates/project/cordova/debug
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/debug b/bin/templates/project/cordova/debug
index 08f113a..37b0d63 100755
--- a/bin/templates/project/cordova/debug
+++ b/bin/templates/project/cordova/debug
@@ -37,7 +37,7 @@ cd $PROJECT_PATH
APP=build/$PROJECT_NAME.app
SDK=`xcodebuild -showsdks | grep Sim | tail -1 | awk '{print $6}'`
-xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -scheme $PROJECT_NAME -sdk $SDK clean build VALID_ARCHS="i386" CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build
+xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK clean build VALID_ARCHS="i386" CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build
# launch using emulate