incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Fix debug and emulate command line tools for xcode 4.3
Date Tue, 17 Jul 2012 20:45:07 GMT
Updated Branches:
  refs/heads/master cfb795d69 -> 69d8b81ac


Fix debug and emulate command line tools for xcode 4.3


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/69d8b81a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/69d8b81a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/69d8b81a

Branch: refs/heads/master
Commit: 69d8b81acb767cac0847dcd34bac147a92a7d9fd
Parents: cfb795d
Author: Ian Suda <ian@ayogo.com>
Authored: Tue Jul 17 13:11:09 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue Jul 17 13:44:55 2012 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/debug   |    4 ++--
 bin/templates/project/cordova/emulate |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/69d8b81a/bin/templates/project/cordova/debug
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/debug b/bin/templates/project/cordova/debug
index cadb2e9..08f113a 100755
--- a/bin/templates/project/cordova/debug
+++ b/bin/templates/project/cordova/debug
@@ -34,10 +34,10 @@ done;
 
 cd $PROJECT_PATH
 
-APP=build/Release-iphonesimulator/$PROJECT_NAME.app
+APP=build/$PROJECT_NAME.app
 SDK=`xcodebuild -showsdks | grep Sim | tail -1 | awk '{print $6}'`
 
-xcodebuild -project $PROJECT_NAME.xcodeproj -sdk $SDK clean build VALID_ARCHS="i386"
+xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -scheme $PROJECT_NAME -sdk $SDK clean
build VALID_ARCHS="i386" CONFIGURATION_BUILD_DIR=$PROJECT_PATH/build
 
 # launch using emulate
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/69d8b81a/bin/templates/project/cordova/emulate
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/emulate b/bin/templates/project/cordova/emulate
index ac0f10c..3822121 100755
--- a/bin/templates/project/cordova/emulate
+++ b/bin/templates/project/cordova/emulate
@@ -27,7 +27,7 @@ function getAppPath() {
 	for file in $PROJECT_PATH/*.xcodeproj; do
 	  PROJECT_NAME=$(basename "$file" .xcodeproj)
 	done;
-	APP=build/Release-iphonesimulator/$PROJECT_NAME.app
+	APP=build/$PROJECT_NAME.app
 	APP_PATH=$PROJECT_PATH/$APP
 }
 


Mime
View raw message