NSDictionary
RN - 0.59.9
react-native-fbsdk - 0.8.0
same error :(
Got the same error
I麓m having the same error on FBSDKLoginCompletion.m of FBSDKLoginKit after updating FBSDK to version 5.0 with react-native-fbsdk: 0.8.0
same error
same error
Same error here, any solution?
is this fixed with the new version in rn fbsdk?
Any solution? I also tried version '0.10.0' but it is still throwing the same issue.
I ended up fixing the version fo the FacebookSDK/LoginKit pod to 5.0 in order to make the build work after updating the library to 0.10.0.
@rodrigopk could you show me your pod file? Thank you
@rodrigopk hope you can share your pod file. Thanks in advance
platform :ios, '9.0'
target 'Myapp' do
#use_frameworks!
pod 'React', :path => '../node_modules/react-native'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
#pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'
pod 'FacebookSDK'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit', '~> 5.0'
target 'MyappTests' do
inherit! :search_paths
# Pods for testing
end
end
Simply making FBSDKLoginKit to version 5.0 did it.
Thanks to @rodrigopk
react-native: 0.59.4
react-native-fbsdk: 0.10.1
Unfortunately the above solution didn't work for me. If I use that pod file setup, I still get the same error.
I'm trying to set the pod file using different versions of those libraries, and I sometimes get rid of that error, but another one shows up => Missing... 'FBSDKCoreKit/FBSDKAppEvents.h'
For me this was fixed by removing the use_frameworks line at the top of the pod file.
And removing this line => pod 'FacebookSDK'
I just left the following 2 lines, without specifying any version:
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
Cocoa pods automatically installs the 5.2.1 version of them.
@scaralfred adding FBSDKShareKit and FBSDKLoginKit solved my issue (but with 5.15.1).
Most helpful comment
same error