2
respostas

criação projeto

estou tentando criar o projeto no mac e esta acontecendo o seguinte erro.

error Could not find "Podfile.lock" at /Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/ios/Podfile.lock. Did you run "pod install" in iOS directory?
info Found Xcode project "instalura.xcodeproj"
xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
error Could not get the simulator list from Xcode. Please open Xcode and try running project directly from there to resolve the remaining issues. 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:15)
    at runOnSimulator (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:135:54)
    at Object.runIOS [as func] (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js:98:12)
    at Command.handleAction (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/@react-native-community/cli/build/index.js:186:23)
    at Command.listener (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:321:20)
    at Command.parseArgs (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/commander/index.js:651:12)
    at Command.parse (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/commander/index.js:474:21)
    at setupAndRun (/Users/renatoreboucas/Projetos/react-native/insta-alura/instalura/node_modules/@react-native-community/cli/build/index.js:259:24)

Ja executei o comando pod install na pasta ios mas nada acontece.

2 respostas

Quando acontece esse erro? É com o comando pod install ou em outro momento?

quando eu crio o projeto, mas resolvi ja, era variável de ambiente do xcode