tinycreative / react-native-intercom

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

Compile error with ios #428

Closed surgetom closed 3 years ago

surgetom commented 3 years ago

Hi guys,

"react-native": "0.63.3", "react": "16.13.1", "react-native-intercom": "^18.0.0",

I've followed the install twice but keep ending up with the same error.

The following build commands failed: CompileC /Users/{user}/Library/Developer/Xcode/DerivedData/{project}-ahprwojkffizypexazkesbgufqyy/Build/Intermediates.noindex/RNIntercom.build/Debug-iphonesimulator/RNIntercom.build/Objects-normal/x86_64/IntercomWrapper.o /Users/{user}/projects/{project}/app/node_modules/react-native-intercom/iOS/IntercomWrapper.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

error in xCode is React/RCTDefines.h' file not found

Screenshot 2021-01-29 at 14 58 08

I've tried installing Intercom with CocoaPods and manually. but the same error both times

Hope you can help

surgetom commented 3 years ago

solved https://github.com/joltup/rn-fetch-blob/issues/461