alp*_*a47 8 facebook ios facebook-login swift
最近,我更新了在我的应用中实现的Facebook登入按钮的以下提到的广告连播
pod 'FacebookCore'
pod 'FacebookLogin'
Run Code Online (Sandbox Code Playgroud)
两个吊舱的版本均为0.7.0
我已经使用命令更新了吊舱
pod update
Run Code Online (Sandbox Code Playgroud)
更新构建项目时,路径中存在错误
Pods / FBSDKLoginKit / FBSDKLoginKit / FBSDKLoginKit / Internal / FBSDKLoginManagerLogger.m:163:60:选择器'objectForJSONString:error:'的未知类方法
这两个错误都发生在同一班级的两个地方
选择器'objectForJSONString:error:'的未知类方法
NSDictionary<id, id> *clientState = [FBSDKBasicUtility objectForJSONString:parameters[FBSDKLoginManagerLoggingClientStateKey] error:NULL];
Run Code Online (Sandbox Code Playgroud)
我进行了研发,没有解决方案。我通过删除整个 FacebookLogin Pod 解决了这个问题,
#pod 'FacebookCore'
#pod 'FacebookLogin'
Run Code Online (Sandbox Code Playgroud)
然后构建项目,然后重新安装相同的pod,最新版本为5.0,然后问题似乎解决了。