简体   繁体   English

ios10中的facebook身份验证

[英]facebook authentication in ios10

when I am trying to login with facebook in ios 10 got this error当我尝试在 ios 10 中使用 Facebook 登录时出现此错误

-canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn't be completed. (OSStatus error -10814.)". -canOpenURL:URL 失败:“fbauth2:/” - 错误:“操作无法完成。(OSStatus 错误 -10814。)”。

Kindly help me out to solve this.请帮我解决这个问题。

This is an Xcode warning indicating the the canOpenURL: call returned false.这是一个 Xcode 警告,指示 canOpenURL: 调用返回 false。 As long as you have configured the LSApplicationQueriesSchemes entry in your plist as described above, you can ignore this warning you can check this link for the total info : https://developers.facebook.com/docs/ios/ios9 , in which u can see what exactly to add in your plist in steps hope it helps you :)只要您如上所述在 plist 中配置了 LSApplicationQueriesSchemes 条目,您就可以忽略此警告,您可以查看此链接以获取全部信息: https : //developers.facebook.com/docs/ios/ios9 ,其中您可以看到具体要添加到您的 plist 中的步骤希望它对您有所帮助:)

I think you need to on Keychain Sharing flag under TARGETS->Capabilities->Keychain Sharing.我认为您需要在 TARGETS->Capabilities->Keychain Sharing 下打开 Keychain Sharing 标志。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM