Skip to content

advanced-react0native-biolerplate failed at launch #172

@emclab

Description

@emclab

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions