-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
xiaoheng:~ xiaoheng$ react-native init AwesomeProject
This will walk you through creating a new React Native project in /Users/xiaoheng/AwesomeProject
Installing react-native package from npm...
Setting up new React Native app in /Users/xiaoheng/AwesomeProject
[email protected] /Users/xiaoheng/AwesomeProject
└── [email protected]
To run your app on iOS:
cd /Users/xiaoheng/AwesomeProject
react-native run-ios
- or -
Open /Users/xiaoheng/AwesomeProject/ios/AwesomeProject.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
Have an Android emulator running (quickest way to get started), or a device connected
cd /Users/xiaoheng/AwesomeProject
react-native run-android
xiaoheng:~ xiaoheng$ cd /Users/xiaoheng/AwesomeProject
xiaoheng:AwesomeProject xiaoheng$ react-native run-ios
Found Xcode project AwesomeProject.xcodeproj
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
/Users/xiaoheng/AwesomeProject/node_modules/promise/lib/done.js:10
throw err;
^
Error: Command failed: xcrun simctl list devices
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
at checkExecSyncError (child_process.js:486:13)
at Object.execFileSync (child_process.js:506:13)
at _runIOS (runIOS.js:62:19)
at runIOS.js:24:5
at tryCallTwo (/Users/xiaoheng/AwesomeProject/node_modules/promise/lib/core.js:45:5)
at doResolve (/Users/xiaoheng/AwesomeProject/node_modules/promise/lib/core.js:200:13)
at new Promise (/Users/xiaoheng/AwesomeProject/node_modules/promise/lib/core.js:66:3)
at Array.runIOS (runIOS.js:23:10)
at Object.run (/Users/xiaoheng/AwesomeProject/node_modules/react-native/local-cli/cli.js:87:13)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)
javidjamae
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.