最近我更新了在我的应用程序中实现的 FacebookLogin 按钮的下面提到的 pod
pod 'FacebookCore'
pod 'FacebookLogin'
两个pod的版本都是0.7.0
我已经使用命令更新了 pod
pod update
更新完我建项目的时候路径有错
Pods/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/Internal/FBSDKLoginManagerLogger.m:163:60: No known class method for selector 'objectForJSONString:error:'
这两个错误都发生在同一个类的两个地方
No known class method for selector 'objectForJSONString:error:'
NSDictionary<id, id> *clientState = [FBSDKBasicUtility objectForJSONString:parameters[FBSDKLoginManagerLoggingClientStateKey] error:NULL];
最佳答案
我必须将 FBSDKBasicUtility 更改为 FBSDKInternalUtility。 Xcode 将提示您解锁文件以进行更改。
关于ios - 更新 FacobookLogin Pod,出现错误 : No known class method for selector 'objectForJSONString:error:' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56374163/