首页 > 解决方案 > 如何修复 FBSDKLoginKit 抖动 IOS?

问题描述

运行应用程序时出错。

这是一个mac os

=== BUILD TARGET firebase_core OF PROJECT Pods WITH CONFIGURATION Debug ===
app/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/Internal/FBSDKLoginCompletion.m:136:51: error: property 'isActive' not found on object of type 'FBSDKApplicationDelegate *'
        if ([FBSDKApplicationDelegate sharedInstance].isActive) {
                                                      ^
app/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/Internal/FBSDKLoginCompletion.m:223:49: error: property 'isActive' not found on object of type 'FBSDKApplicationDelegate *'
      if ([FBSDKApplicationDelegate sharedInstance].isActive) {
                                                    ^
    2 errors generated.

标签: flutter

解决方案


版本不一致

  1. 删除 ios 目录下的 Podfile.lock

  2. 在您的 Podfile 中添加具有相同版本的 facebook 插件

    吊舱“FBSDKCoreKit”,“4.39.1”

    吊舱“FBSDKLoginKit”,“4.39.1”

  3. 吊舱安装


推荐阅读