尝试在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;
预计要为模拟器构建的应用
答案 0 :(得分:5)
我遇到了同样的问题,这与Facebook pod版本有关。尝试使用我的fork,编辑您的pubspec.yaml
文件并添加此依赖项:
flutter_facebook_login:
git: https://github.com/diegoveloper/flutter_facebook_login.git