Skip to content

Commit

Permalink
Update running-on-simulator-ios.md (#2220)
Browse files Browse the repository at this point in the history
We have to specify the generation for the iPhone SE simulator.
  • Loading branch information
ppichier authored Sep 23, 2020
1 parent 0ebaaf4 commit 3770032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/running-on-simulator-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Once you have your React Native project initialized, you can run `npx react-nati

## 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 11"`. If you wish to run your app on an iPhone SE, run `npx react-native run-ios --simulator="iPhone SE"`.
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 11"`. If you wish to run your app on an iPhone SE (1st generation), run `npx react-native run-ios --simulator="iPhone SE (1st generation)"`.

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.

0 comments on commit 3770032

Please sign in to comment.