React nativeの実行コマンドreact-native run-iosを使うと以下の様なエラーが出てしまいます。
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH error Could not parse the simulator list output. Run CLI with --verbose flag for more details. Error: Command failed: xcrun simctl list --json devices xcrun: error: unable to find utility "simctl", not a developer tool or in PATH at checkExecSyncError (child_process.js:611:11) at Object.execFileSync (child_process.js:629:13) at runOnSimulator (/Users/hodoru/Desktop/hogeapp/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:129:30) at Object.runIOS [as func] (/Users/hodoru/Desktop/hogeapp/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:97:12) at Command.handleAction (/Users/hodoru/Desktop/hogeapp/node_modules/react-native/node_modules/@react-native-community/cli/build/cliEntry.js:160:21) at Command.listener (/Users/hodoru/Desktop/hogeapp/node_modules/commander/index.js:315:8) at Command.emit (events.js:182:13) at Command.parseArgs (/Users/hodoru/Desktop/hogeapp/node_modules/commander/index.js:651:12) at Command.parse (/Users/hodoru/Desktop/hogeapp/node_modules/commander/index.js:474:21) at setupAndRun (/Users/hodoru/Desktop/hogeapp/node_modules/react-native/node_modules/@react-native-community/cli/build/cliEntry.js:210:24)
調べてみたところsimulatorのpathを設定ができていない?ようなのですがpathをどう設定すれば良いのかわかりません。Xcodeは入っているのでsimulator自体はインストールできていると思います。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。