1
resposta

ERRO - react-native run-ios

Após rodar o comando :

react-native run-ios

inicio log...

react-native run-ios
info Found Xcode project "meuApp.xcodeproj"
info Launching iPhone X (iOS 12.2)
info Building (using "xcodebuild -project meuApp.xcodeproj -configuration Debug -scheme meuApp -destination id=D41F5EA7-140A-4E1A-8B9A-F85C307D442B -derivedDataPath build/meuApp")

retorna o erro abaixo:

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening meuApp.xcodeproj. Run CLI with --verbose flag for more details.
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/leonardo.ribeiro/desenv/react-native/bottomBar/meuApp/ios/build/meuApp

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: Capabilities for meuApp may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the build settings editor. (in target 'meuApp')

Tentei abrir o projeto no Xcode e não compila:

AppDelegate.m:10:9: fatal error: 'React/RCTBridge.h' file not found
#import <React/RCTBridge.h>
1 resposta

Leo, boa tarde!

Você conseguiu resolver o problema? Caso não tente apagar a pasta node_modules e rodar um npm install novamente

Caso ainda não vá nos envie o link do projeto no seu github para que possamos testar, aguardo sua resposta e bons estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software