flutter - 如何修复 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.
解决方案
版本不一致
删除 ios 目录下的 Podfile.lock
在您的 Podfile 中添加具有相同版本的 facebook 插件
吊舱“FBSDKCoreKit”,“4.39.1”
吊舱“FBSDKLoginKit”,“4.39.1”
吊舱安装
推荐阅读
- python - 频道未在类别 Discord.py 中创建
- javascript - 使用 API 更改值
- python - 如何获取列表中具有特定值的最后一个元素
- python - 与字典值相比,按列值过滤DataFrame?
- c# - 获得了错误的感兴趣区域 ROI
- swift - 是否可以在 xCode 设置中更改应用商店产品的 productId?
- ssh - 无法从 Oracle 云中服务器上的 localhost 打开隧道网站
- react-native - 如何使用深度链接管理 Expo 托管应用通知点击事件?
- docker - Nextcloud fpm docker 镜像,支持 ldap
- android - 文本字符串必须在 Text React Native 中呈现