[CB-3524] cordova/emulate and cordova/run silently fails when ios-sim is not installed
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/11abbf74 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/11abbf74 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/11abbf74 Branch: refs/heads/2.8.x Commit: 11abbf74795e22062868f5ec14cad32ad97cebd0 Parents: 6479c19 Author: Shazron Abdullah <[email protected]> Authored: Tue May 28 12:43:37 2013 -0700 Committer: Shazron Abdullah <[email protected]> Committed: Tue May 28 13:20:24 2013 -0700 ---------------------------------------------------------------------- bin/templates/project/cordova/emulate | 2 -- bin/templates/project/cordova/run | 2 -- 2 files changed, 0 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/11abbf74/bin/templates/project/cordova/emulate ---------------------------------------------------------------------- diff --git a/bin/templates/project/cordova/emulate b/bin/templates/project/cordova/emulate index e81c1bd..9a3c3c4 100755 --- a/bin/templates/project/cordova/emulate +++ b/bin/templates/project/cordova/emulate @@ -18,8 +18,6 @@ # under the License. # -set -e - XCODE_VER=$(xcodebuild -version | head -n 1 | sed -e 's/Xcode //') XCODE_MIN_VERSION="4.5" http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/11abbf74/bin/templates/project/cordova/run ---------------------------------------------------------------------- diff --git a/bin/templates/project/cordova/run b/bin/templates/project/cordova/run index da0916c..a616352 100755 --- a/bin/templates/project/cordova/run +++ b/bin/templates/project/cordova/run @@ -24,8 +24,6 @@ # "iPad" # "iPad (Retina)" -set -e - OPTION_RESULT=() TARGET="iPhone (Retina 3.5-inch)" TARGET_FLAG='--family iphone --retina'
