facebook sdk crashes in application delegate

后端 未结 3 707
旧时难觅i
旧时难觅i 2021-02-04 17:47

Here\'s how I replicate the bug. So here\'s the code I have for logging in:

@IBAction func FBLoginAction(_ sender: AnyObject) {
    fbLoginManager.loginBehavior         


        
3条回答
  •  盖世英雄少女心
    2021-02-04 18:04

    Make sure you have no restricted versions of FBSDK in your Podfile, like so:

    pod 'FBSDKCoreKit'
    pod 'FBSDKLoginKit'
    pod 'FBSDKShareKit'
    

    Then do the pod update. Don't put a --no-repo-update to let your local specs repos be updated.

    Latest local specs repositories will let you be able to download the latest version of FBSDK, which is the 4.19.0.

提交回复
热议问题