React-native-fbsdk: No visible @interface for 'FBSDKShareOpenGraphAction' declares the selector 'initWithActionType:'

Created on 21 Jun 2019  路  8Comments  路  Source: facebook/react-native-fbsdk

馃悰 Bug Report

When updating the Facebook SDK for version 5 and react-native-sdk for version 0.10.0 I had this error:
" No visible @interface for 'FBSDKShareOpenGraphAction' declares the selector 'initWithActionType:' "

To Reproduce

  • Update Facebook SDK for version 5.0.0
  • Update react-native-fbsdk from version 0.10.0

Expected Behavior

Code Example

Captura de Tela 2019-06-21 a虁s 17 52 40

Environment

Environment:
OS: macOS High Sierra 10.13.6
Node: 8.12.0
Yarn: Not Found
npm: 6.4.1
Watchman: Not Found
Xcode: Xcode 10.1 Build version 10B61
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.54.0 => 0.54.0

Most helpful comment

Can anyone tell which ios fbsdk version is supported by the latest(1.0.1) react native fbsdk? Because I am also facing the same issue.

All 8 comments

somebody solve this problem?

    "react": "16.8.3",
    "react-native": "0.59.9",
    "react-native-fbsdk": "^0.10.1"
pod 'FBSDKCoreKit', '~>4.42.0'
pod 'FBSDKLoginKit', '~>4.42.0'
pod 'FBSDKShareKit', '~>4.42.0'

Hi @Dmitrylolo please try this

pod 'FBSDKCoreKit', '~>4.40.0'
pod 'FBSDKLoginKit', '~>4.40.0'
pod 'FBSDKShareKit', '~>4.40.0'

as for me I accidentally ran pod update due to which fbsdk was updated

also if the above doesn't work try changing the version as it might be something different in your case.

same here

Same here

same ...

Can anyone tell which ios fbsdk version is supported by the latest(1.0.1) react native fbsdk? Because I am also facing the same issue.

Im having same issue

"react": "16.8.6",
"react-native": "0.60.5",
"react-native-fbsdk": "^1.0.3",

just tell which version of iOS fbsdk to use... Please, tired of this shit, spent already 2 days, when deadline is in 4 days

Was this page helpful?
0 / 5 - 0 ratings