尝试设置facebook SDK for flutter iOS但不断收到此错误。
SDK适用于Android
试图清理代码并重新安装
/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