我正在尝试使用Xcode 8来构建一个使用Swift 3登录Facebook的应用程序.当我切换回iOS模拟器9.3时,它可以工作.在iOS 10中,我收到此错误:
""fbauth2:/" The operation couldn’t be completed. (OSStatus error -10814.)"
Run Code Online (Sandbox Code Playgroud)
和
Optional(Error Domain=com.facebook.sdk.login Code=308 "(null)")
Run Code Online (Sandbox Code Playgroud)
有人有解决方案吗?
调试后,这个问题是FBSDK无法更新expect_challange.功能SecItemUpdate里面security.framework不行.这是IOS 10的问题
在iOS 10和xcode 8中,当我尝试登录谷歌服务时,我收到"钥匙串错误"
func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!){
if error != nil {
print("\(error!.localizedDescription)")
}
}
Run Code Online (Sandbox Code Playgroud)
在SO上提供和接受的解决方案是直接从模拟器而不是通过Xcode运行应用程序.我试过这个并没有成功因此在这里发布这个问题,希望有人有更新的解决方案或经验.