尝试在iOS设备上设置Facebook SDK,但仍然出现此错误。
该SDK适用于Andorid
试图清理代码并重新安装
/Users/abdi/Documents/project-philotes/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/Internal/FBSDKLoginCompletion.m:223:49: error: property 'isActive' not found on object of type 'FBSDKApplicationDelegate *'
if ([FBSDKApplicationDelegate sharedInstance].isActive) {
^
/Users/abdi/Documents/project-philotes/ios/Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/Internal/FBSDKLoginCompletion.m:272:10: error: use of undeclared identifier 'FBSDKSystemAccountStoreAdapter'
[FBSDKSystemAccountStoreAdapter sharedInstance].forceBlockingRenew = YES;
预计该应用将为模拟器构建
最佳答案
我遇到了同样的问题,这与Facebook pod版本有关。尝试使用我的fork,编辑pubspec.yaml
文件并添加此依赖项:
flutter_facebook_login:
git: https://github.com/diegoveloper/flutter_facebook_login.git