'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 1:[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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anas Araid