Search code examples
iosreact-nativeios-simulator

Change default iOS simulator device in react-native


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?


Solution

  • 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