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 2014/11/01 00:43:44 UTC

[24/50] ios commit: Fix cordova/lib/install-emulator to pass in the correct prefix for ios-sim --devicetypeid

Fix cordova/lib/install-emulator to pass in the correct prefix for ios-sim --devicetypeid


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

Branch: refs/heads/wkwebview
Commit: 14fa0a8367ab7fc4a0d7ae873b4cf0ea2cdd7dcb
Parents: 442606a
Author: Shazron Abdullah <sh...@apache.org>
Authored: Fri Oct 17 16:45:27 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Oct 17 16:45:27 2014 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/install-emulator | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/14fa0a83/bin/templates/scripts/cordova/lib/install-emulator
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/install-emulator b/bin/templates/scripts/cordova/lib/install-emulator
index 2be0f45..bcf926e 100755
--- a/bin/templates/scripts/cordova/lib/install-emulator
+++ b/bin/templates/scripts/cordova/lib/install-emulator
@@ -88,4 +88,4 @@ if [[ "$IOS_SIM_VERSION" < "$IOS_SIM_MIN_VERSION" ]]; then
 fi
 
 # launch using ios-sim
-ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" --devicetypeid $TARGET --exit
+ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" --devicetypeid  "com.apple.CoreSimulator.SimDeviceType.$TARGET" --exit


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org