HomeiOS Developmentios - Fb SDK can't improve to new model

ios – Fb SDK can’t improve to new model


I wish to add Fb Login button to my mission.

developer.fb.com needs an improve Fb SDK from 15 to 16.

if i run cd ios && pod outdated, the output is:

The next pod updates can be found:
- FBSDKCoreKit 15.0.0 -> 15.0.0 (newest model 16.0.1)
- FBSDKCoreKit_Basics 15.0.0 -> 15.0.0 (newest model 16.0.1)
- FBSDKGamingServicesKit 15.0.0 -> 15.0.0 (newest model 16.0.1)
- FBSDKLoginKit 15.0.0 -> 15.0.0 (newest model 16.0.1)
- FBSDKShareKit 15.0.0 -> 15.0.0 (newest model 16.0.1)

I can’t replace to newest model 16 as a result of react-native-fbsdk-next relies upon model 15.

I added this traces to my PodFile (as a result of Fb recommend it):

pod 'FBSDKCoreKit', '~> 16.0.0'
pod 'FBSDKShareKit', '~> 16.0.0'

(My PodFile has this line: platform :ios, '12.4')

and that i run pod replace command however i get this error:

[!] CocoaPods couldn't discover suitable variations for pod "FBSDKCoreKit":
In Podfile:
FBSDKCoreKit (~> 16.0.0)

    FBSDKShareKit (~> 16.0.0) was resolved to 16.0.0, which is determined by
      FBSDKCoreKit (= 16.0.0)
    
    react-native-fbsdk-next (from `../node_modules/react-native-fbsdk-next`) was resolved to 11.2.1, which is determined by
      react-native-fbsdk-next/Core (= 11.2.1) was resolved to 11.2.1, which is determined by
        FBSDKCoreKit (~> 15.0.0)

Specs satisfying the `FBSDKShareKit (~> 16.0.0), FBSDKShareKit (~> 15.0.0)` dependency have been discovered, however they required the next minimal deployment goal.

I do not know. Possibly i need to change platform :ios model in PodFile however what’s new model?
Or possibly i need to wait for brand new react-native-fbsdk-next model.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments