From 3a9a4fd33a7688438183aa29d4f234beaaef9684 Mon Sep 17 00:00:00 2001 From: John Choura Jr Date: Mon, 14 Nov 2016 08:56:20 -0800 Subject: [PATCH] Updated Device Specifying Command Summary: The command `react-native run-ios --simulator "iPhone 4s"` wasn't working, and I think it's because there needs to be an equals sign in the command. ie. `react-native run-ios --simulator="iPhone 4s"` I ran that command again, and it worked for me. Closes https://github.com/facebook/react-native/pull/10754 Differential Revision: D4175849 Pulled By: hramos fbshipit-source-id: b11aee955f1f83da2d72e0cb06464ea984cf2002 --- docs/RunningOnSimulatorIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RunningOnSimulatorIOS.md b/docs/RunningOnSimulatorIOS.md index 2305647b3..8005ea172 100644 --- a/docs/RunningOnSimulatorIOS.md +++ b/docs/RunningOnSimulatorIOS.md @@ -14,6 +14,6 @@ Once you have your React Native project initialized, you can run `react-native r ## Specifying a device -You can specify the device the simulator should run with the `--simulator` flag, followed by the device name as a string. The default is `"iPhone 6"`. If you wish to run your app on an iPhone 4s, just run `react-native run-ios --simulator "iPhone 4s"`. +You can specify the device the simulator should run with the `--simulator` flag, followed by the device name as a string. The default is `"iPhone 6"`. If you wish to run your app on an iPhone 4s, just run `react-native run-ios --simulator="iPhone 4s"`. The device names correspond to the list of devices available in Xcode. You can check your available devices by running `xcrun simctl list devices` from the console.