Reputation: 417
Based on How to change the default Xcode iphone simulator when testing in the terminal?, I'd expect something like yarn run ios --simulator="iPhone 8"
to work but it doesn't.
I'm using "react-native-scripts": "1.5.0"
.
Upvotes: 0
Views: 368
Reputation: 24660
As says in documentation for exp Command Line Interface;
-i, --ios Opens your app in Expo in a currently running iOS simulator on your computer
So basically you can start your desired simulator before running it with expo and expo will detect the currently running simulator and then deploy your code.
Upvotes: 1