React-native-fbsdk: node_modules/react-native-fbsdk/ios/RCTFBSDK/share/RCTFBSDKShareDialog.h:19:9: 'React/RCTBridgeModule.h' file not found

Created on 12 Nov 2018  路  2Comments  路  Source: facebook/react-native-fbsdk

Hey guys, trying to build my app from a detached expo app with ExpoKit but getting this error on Facebook's SDK:

node_modules/react-native-fbsdk/ios/RCTFBSDK/share/RCTFBSDKShareDialog.h:19:9: 'React/RCTBridgeModule.h' file not found

Anyone know what's going on here?

Followed the instructions to get fbsdk through cocoapods:

pod 'FacebookSDK' then pod install as well as putting all the right info in Info.plist and AppDelegate.m.

Not even sure what this error is.

Most helpful comment

Are you using xCode ten? If so, in xCode select RCTFBSDK.xcodeproj from your projects Libraries folder. In Builds Settings search from FrameworkSearchPaths and add $(HOME)/Documents/FacebookSDK. Changes introduced with xCode ten break the suggested search path.

screen shot 2018-11-13 at 11 36 06 am

All 2 comments

Are you using xCode ten? If so, in xCode select RCTFBSDK.xcodeproj from your projects Libraries folder. In Builds Settings search from FrameworkSearchPaths and add $(HOME)/Documents/FacebookSDK. Changes introduced with xCode ten break the suggested search path.

screen shot 2018-11-13 at 11 36 06 am

Was this page helpful?
0 / 5 - 0 ratings