我正在尝试使用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的问题
我正在使用Xamarin.Auth(https://components.xamarin.com/view/xamarin.auth/)存储我的凭据,就像我一直以来一样.
var accountStore = AccountStore.Create ();
foreach (var account in accountStore.FindAccountsForService("myAppName"))
accountStore.Delete (account, "myAppName");
AccountStore.Create().Save(acc, "myAppName");
Run Code Online (Sandbox Code Playgroud)
升级到iOS 10后,我收到此错误存储凭据:
"Could not save account to KeyChain: -34018"
at Xamarin.Auth.KeyChainAccountStore.Save (Xamarin.Auth.Account account,System.String serviceId) [0x000b2] in <402cf9b3716845b3bdddef581cb33a3e>:0
Run Code Online (Sandbox Code Playgroud)
安装最新版本1.2.3.1问题似乎只存在于SIMULATOR上
我正在使用Google plus登录.该实现基本上是从Developer Google的示例中复制而来的.当我第一次登录时,一切正常.但是,如果我然后注销使用
[[GIDSignIn sharedInstance] signOut];
Run Code Online (Sandbox Code Playgroud)
下次我登录时,我得到了
Error Domain=com.google.GIDSignIn Code=-2 "keychain error"
Run Code Online (Sandbox Code Playgroud)
请告知在这种情况下可以做些什么.谢谢