Facebook 尝试生成FBSDK颤振ios时发生生成错误
正在尝试为Flatter iOS安装facebook SDK,但不断出现此错误 SDK适用于android 试图清除代码并重新安装Facebook 尝试生成FBSDK颤振ios时发生生成错误,facebook,dart,flutter,Facebook,Dart,Flutter,正在尝试为Flatter iOS安装facebook SDK,但不断出现此错误 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
/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版本有关。尝试使用my fork,编辑您的
pubspec.yaml
文件并添加此依赖项:
flutter_facebook_login:
git: https://github.com/diegoveloper/flutter_facebook_login.git
我能用你的回购协议解决这个问题。但是还有更持久的解决方案吗?@SunojVijayan一旦这个公关被合并,你就可以使用原始的
flatter\u facebook\u登录
repo