tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
406 stars 280 forks source link

Error /react-native/React/Modules/RCTEventEmitter.h:8:9: 'React/RCTBridge.h' file not found #385

Closed alexsilvadev closed 2 years ago

alexsilvadev commented 4 years ago

Has anyone had this error and knows how to fix it?

I am using: react-native: 0.62.1 react-native-intercom: 17.0.0 xcode: 10.3

Captura de Tela 2020-07-23 às 10 30 34 Captura de Tela 2020-07-23 às 10 30 47
VincentQuillien commented 3 years ago

I had the same issue and I resolved it by setting the correct path to React's headers in the header search paths of the library. It should be something like this: ${SRCROOT}/../../../ios/Pods/Headers/Public/** (recursive)

surgetom commented 3 years ago

I had the same issue and I resolved it by setting the correct path to React's headers in the header search paths of the library. It should be something like this: ${SRCROOT}/../../../ios/Pods/Headers/Public/** (recursive)

What version of "react-native-intercom" are you using? I tried adding the the path but it didnt work for me.

surgetom commented 3 years ago

Has anyone had this error and knows how to fix it?

I am using: react-native: 0.62.1 react-native-intercom: 17.0.0 xcode: 10.3

Captura de Tela 2020-07-23 às 10 30 34 Captura de Tela 2020-07-23 às 10 30 47

did this work for you ?

surgetom commented 3 years ago

Has anyone had this error and knows how to fix it? I am using: react-native: 0.62.1 react-native-intercom: 17.0.0 xcode: 10.3

Captura de Tela 2020-07-23 às 10 30 34 Captura de Tela 2020-07-23 às 10 30 47

did the solution work for you ?