Updated Branches:
  refs/heads/2.8.x 6479c1980 -> 983b3bceb

[CB-3526] typo in cordova/lib/install-emulator - does not check for ios-sim


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/983b3bce
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/983b3bce
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/983b3bce

Branch: refs/heads/2.8.x
Commit: 983b3bcebb3de3070be7110c00755a7f1154d674
Parents: 11abbf7
Author: Shazron Abdullah <[email protected]>
Authored: Tue May 28 13:12:34 2013 -0700
Committer: Shazron Abdullah <[email protected]>
Committed: Tue May 28 13:20:24 2013 -0700

----------------------------------------------------------------------
 bin/templates/project/cordova/lib/install-emulator |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/983b3bce/bin/templates/project/cordova/lib/install-emulator
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/lib/install-emulator 
b/bin/templates/project/cordova/lib/install-emulator
index a5485cf..4fd0fbb 100755
--- a/bin/templates/project/cordova/lib/install-emulator
+++ b/bin/templates/project/cordova/lib/install-emulator
@@ -24,8 +24,6 @@
 #     "iPad"
 #     "iPad (Retina)"
 
-set -e
-
 OPTION_RESULT=()
 TARGET="iPhone (Retina 3.5-inch)"
 TARGET_FLAG='--family iphone --retina'
@@ -111,7 +109,7 @@ if [ ! -d "$APP_PATH" ]; then
 fi
 
 IOS_SIM_MIN_VERSION="1.5"
-IOS_SIM_LOCATION=$(which xcodebuild)
+IOS_SIM_LOCATION=$(which ios-sim)
 if [ $? != 0 ]; then
     echo -e "\033[31mError: ios-sim was not found. Please download, build and 
install version $IOS_SIM_MIN_VERSION or greater from 
https://github.com/phonegap/ios-sim into your path. Or 'brew install ios-sim' 
using homebrew: http://mxcl.github.com/homebrew/\033[m";; exit 1;
        exit 1

Reply via email to