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 2013/05/28 22:12:41 UTC
ios commit: [CB-3526] typo in cordova/lib/install-emulator - does not
check for ios-sim
Updated Branches:
refs/heads/master ab85edc68 -> 3a887de7b
[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/3a887de7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/3a887de7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/3a887de7
Branch: refs/heads/master
Commit: 3a887de7b548760d7c618489200e9f3b683f73f5
Parents: ab85edc
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue May 28 13:12:34 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue May 28 13:12:34 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/3a887de7/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