Search code examples
react-nativereact-native-cli

React native run-ios ignoring simulator option


using the following commands my last used simulator iPhone 8 Plus (iOS 13.2) is used. Any thoughts on how to work out why the specified simulator is not launching?

npx react-native run-ios --simulator "iPad"
npx react-native run-ios --simulator="iPad"

These commands without npx also do not launch an iPad simulator but the iPhone 8 Plus.


Solution

  • What you can do just open the workspace from the ios folder of your app and try to run the application from there as there you have lots of options available to run it. Moreover you have clear understanding of bugs from there.

    I hope this helps...Thanks :)