iOS 9 Facebook登录模拟器-canOpenURL:网址失败:“fbauth2:///” - 错误:“(null)” [英] iOS 9 Facebook login simulator -canOpenURL: failed for URL: "fbauth2:///" - error: "(null)"
问题描述
我的应用程序的Facebook登录在设备上正常工作。然而,在iOS 9模拟器上,我得到:
-canOpenURL:URL失败:fbauth2:/// - 错误: (null)
登录不起作用。我看过 facebook登录问题 - canOpenURL:失败URL:fbauth2:/// - 错误:(null),但我有FBSDKCoreKit框架。我也看过 Facebook SDK 4.5 IOS 9 ,但答案不解决我的问题。
为什么我在模拟器上收到此错误,而不是在设备上,即使我已经在 https://developers.facebook.com/docs/ios/ios9 ?
为什么我会看到控制台消息,如canOpenURL:失败的URL:fb ...://'或?
这是一个Xcode警告,指示canOpenURL:调用返回
false。只要您配置了LSApplicationQueriesSchemes
条目如上所述,您可以忽略此警告。
I've updated to Xcode 7 and the latest iOS SDK. I've added the appropriate entries in my app's plist:
My app's Facebook login works fine on device. However, on iOS 9 simulator, I'm getting:
-canOpenURL: failed for URL: "fbauth2:///" - error: "(null)"
And login is not working. I've seen facebook login issue - canOpenURL: failed for URL: "fbauth2:///" - error: "(null)" but I have FBSDKCoreKit framework. I've also seen Facebook SDK 4.5 IOS 9 but it's answer doesn't solve my problem.
Why am I getting this error on simulator and not on device even though I've done the checklist at https://developers.facebook.com/docs/ios/ios9?
Why do I see console messages like 'canOpenURL: failed for URL: "fb...://' or ?
This is an Xcode warning indicating the the canOpenURL: call returned false. As long as you have configured the
LSApplicationQueriesSchemes
entry in your plist as described above, you can ignore this warning.
这篇关于iOS 9 Facebook登录模拟器-canOpenURL:网址失败:“fbauth2:///” - 错误:“(null)”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!