Home > Enterprise >  Change default iOS simulator device in react-native
Change default iOS simulator device in react-native

Time:04-17

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?

CodePudding user response:

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

  • Related