React-native-fbsdk: 'FBSDKShareKit/FBSDKShareKit.h' file not found can not find any solution while applying all possible path

Created on 27 Mar 2019  路  6Comments  路  Source: facebook/react-native-fbsdk

馃悰 Bug Report

To Reproduce

Expected Behavior

Code Example

Environment

Most helpful comment

thank @huuthinh245. I fixed.
remove ~/Documents/FacebookSDK or ${HOME}/Documents/FacebookSDK in build settings->framework search paths
// add to podfile
pod 'FBSDKShareKit'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
and run pod install
It works!

All 6 comments

i think you didn't install with pod or Link Binary to Libraries
// add to podfile if miss
pod 'FBSDKShareKit'
hope it helpful

I have the same problem with rn 0.43.2 and react-native-fbsdk: 0.5.0 馃槶

@vuvantoan95 should upgrade version react-native-fbsdk. I work well with "react-native-fbsdk": "^0.8.0",

thank @huuthinh245. I fixed.
remove ~/Documents/FacebookSDK or ${HOME}/Documents/FacebookSDK in build settings->framework search paths
// add to podfile
pod 'FBSDKShareKit'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
and run pod install
It works!

Download the SDK and extract the archive file to ~/Documents/FacebookSDK
Or change $(HOME)/Documents/FacebookSDKs-iOS-4.40.0 with version name when download it into
https://github.com/facebook/react-native-fbsdk/blob/master/ios/RCTFBSDK.xcodeproj/project.pbxproj#L393

ld: library not found for -lBolts

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vladotg picture vladotg  路  5Comments

pyeonjaesik picture pyeonjaesik  路  5Comments

santilorenzo picture santilorenzo  路  3Comments

justin808 picture justin808  路  3Comments

pranny picture pranny  路  6Comments