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
Most helpful comment
thank @huuthinh245. I fixed.
remove
~/Documents/FacebookSDKor${HOME}/Documents/FacebookSDKinbuild settings->framework search paths// add to podfile
pod 'FBSDKShareKit'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
and run pod install
It works!