I am working on react native app, and I do testing on iOS Simulator.
However, it always runs on iPhone 6, and i don't know how I can switch to other iPhone models like iPhone 6 Plus or 5.
I can start a different device manually by going to Simulator -> Hardware -> Device -> iOS -> iPhone 6 Plus.
But the app is installed only on iPhone 6, and it always starts iPhone 6 when I run react-native run ios
.
How can I change it so that I can run the app on different iOS Simulator devices?
react-native run-ios --simulator="iPhone 6s Plus"
As far as I can tell there is currently no way to specify the OS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With