jodybrewster / react-native-linkedin-login

React Native Linkedin login
71 stars 42 forks source link

LinkedinLogin.h:27:9: fatal error: 'RCTBridgeModule.h' file not found #19

Closed SerzN1 closed 7 years ago

SerzN1 commented 7 years ago

Hello. How can I solve this problem? Any ideas?

SerzN1 commented 7 years ago

http://take.ms/Wm5ft here is xCode error message

SerzN1 commented 7 years ago

If I use "use_frameworks!" in my Podfile it fails with error. How can I combine "use_frameworks!" flag with this module?

geordasche commented 7 years ago

@SerzN1, if you're still having this problem, you can try adding a path reference to your react native headers in your Pods project (Pods.xcodeproj). Example:

Project -> Build Settings -> User Header Search Paths -> $(SRCROOT)/../../node_modules/react-native/React

and make it recursive.

Alternatively, you can set it for only the react-native-linkedin-login target.

Hope this helps.

jodybrewster commented 7 years ago

I've removed cocoapods from the project, I'm also moving to rnpm, so hopefully that eases installs.