Every time I run react-native run-ios
my project starts by default on iPhone 11.
How can I load my app on a different simulator model?
-
Does this answer your question? React Native Change Default iOS Simulator DeviceimKrishh– imKrishh2022年04月17日 10:08:31 +00:00Commented Apr 17, 2022 at 10:08
1 Answer 1
You can add --simulator
flag to change your device model. For example:
react-native run-ios --simulator="iPhone 13"
Run xcrun simctl list devices
to get a list of available devices
answered Apr 17, 2022 at 9:40
Sign up to request clarification or add additional context in comments.
Comments
default