Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advanced-react0native-biolerplate failed at launch #172

Open
emclab opened this issue Jan 30, 2020 · 0 comments
Open

advanced-react0native-biolerplate failed at launch #172

emclab opened this issue Jan 30, 2020 · 0 comments

Comments

@emclab
Copy link

emclab commented Jan 30, 2020

The example of advanced-react-native-boilerplate was cloned to macOS Catalina running Xcode 11.3.1 with its command line tool. Follow the How to use to launch it:

yarn react-native run-is

The simulator is iPhone 11 Pro Max. The error is about missing simulator:

yarn react-native run-ios
yarn run v1.19.2
$ /Users/zhouyiyun/Documents/js/advanced-react-native-boilerplate/node_modules/.bin/react-native run-ios
Found Xcode workspace TApp.xcworkspace

Could not find iPhone X simulator

Error: Could not find iPhone X simulator
at resolve (/Users/zhouyiyun/Documents/js/advanced-react-native-boilerplate/node_modules/react-native/local-cli/runIOS/runIOS.js:149:13)
at new Promise ()
at runOnSimulator (/Users/zhouyiyun/Documents/js/advanced-react-native-boilerplate/node_modules/react-native/local-cli/runIOS/runIOS.js:134:10)
at Object.runIOS [as func] (/Users/zhouyiyun/Documents/js/advanced-react-native-boilerplate/node_modules/react-native/local-cli/runIOS/runIOS.js:106:12)
at Promise.resolve.then (/Users/zhouyiyun/Documents/js/advanced-react-native-boilerplate/node_modules/react-native/local-cli/cliEntry.js:117:22)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

But there is no iPhone X simulator on my Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant