Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.

No visible @interface for 'FBSDKShareOpenGraphAction' declares the selector 'initWithActionType:' #569

Closed
Kiran0791 opened this issue Jun 19, 2019 · 11 comments

Comments

@Kiran0791
Copy link

Kiran0791 commented Jun 19, 2019

react-native-fbsdk : 0.10.0 is throwing this issue.

@redcancode
Copy link
Contributor

have you installed react-native-fbsdk as a pod or added it as a project?

@Kiran0791
Copy link
Author

I have added it as project

@janicduplessis
Copy link
Contributor

You need to update the fbsdk to v5, see release notes https://github.com/facebook/react-native-fbsdk/releases/tag/0.10.0

@davidtoluhi
Copy link

@janicduplessis I upgraded but still getting the issue. Does it work with a specific version of facebook iOS sdk? because I upgraded that as well.

@hugoh59
Copy link

hugoh59 commented Jul 15, 2019

The upgrade instructions are out of date, it's a mess.

@hugoh59
Copy link

hugoh59 commented Jul 15, 2019

@dakoto747 did you figure it out?

@nikhil-atlogys
Copy link

Hi I am also facing the same issue. I have tried fb framework v5, v4.42, v4.39 and still getting the same error. Please help in this regard ?

@muratmerdogan
Copy link

Does anyone solve the problem ?

@davidtoluhi
Copy link

davidtoluhi commented Jul 20, 2019

@hugoh59

@dakoto747 did you figure it out?

No, I had to revert to a previous build.

@nabilfreeman
Copy link

nabilfreeman commented Dec 9, 2019

Hi, this worked for me, I encountered this error during upgrade from v0.8.0 to v0.10.1. I had to replace the ~/Documents/FacebookSDK directory with the v5 static library:

https://github.com/facebook/facebook-ios-sdk/releases/download/v5.12.0/FacebookSDK_Static.zip

My RN project is really old and I recall that the documents path was the original way to link FBSDK via manually editing Header Search Paths. Didn't bother with Pods etc.

Thank you @janicduplessis !!!!! 🚀

Also I had to remove the Bolts framework from my "Link Binary With Libraries" section. Appears that it no longer exists in FBSDK v5.

@Mcebrera
Copy link

@nabilfreeman Thank you so much. I followed your comment and it successfully updated my FBSDK and xcode built successfully.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants