gpt4 book ai didi

ios - iOS 9 上的 Facebook 7.0.3 登录问题

转载 作者:可可西里 更新时间:2023-11-01 04:43:34 25 4
gpt4 key购买 nike

我在 Xcode 的日志中有这条消息:

-canOpenURL: failed for URL: "fbauth2:///" - error: "This app is not allowed to query for scheme fbauth2"

而且我的应用程序不打开 Facebook 应用程序,而是打开 Safari。

然后我在回调中遇到错误。

(在 iOS8 上一切正常)

这里是所有的日志:

on clicked btn game over facebook connect
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.TouchInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
UnityEngine.EventSystems.TouchInputModule:ProcessTouchEvents()

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

2015-09-18 14:42:29.386 numbersAddictL[12643:531372] -canOpenURL: failed for URL: "fbauth2:///" - error: "This app is not allowed to query for scheme fbauth2"
on clicked btn game over facebook connect
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.TouchInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
UnityEngine.EventSystems.TouchInputModule:ProcessTouchEvents()

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

2015-09-18 14:42:29.391 numbersAddictL[12643:531372] -canOpenURL: failed for URL: "fbauth2:///" - error: "This app is not allowed to query for scheme fbauth2"
-> applicationWillResignActive()
FbLogInWithReadPermissions - Error Response:
The operation couldn’t be completed. (com.facebook.sdk.login error 301.)

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

FbLogInWithReadPermissions - Error Response:
The operation couldn’t be completed. (com.facebook.sdk.login error 301.)

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

-> applicationDidEnterBackground()
-> applicationWillEnterForeground()
-> applicationDidBecomeActive()
2015-09-18 14:42:39.100 numbersAddictL[12643:531582] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)

最佳答案

对于 iOS 9(使用 Facebook iOS SDK),您已将更多键添加到 info.plist。此错误可能与此有关。

<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>facebook.com</key>
<dict>
<key>NSIncludesSubdomains</key> <true/>
<key>NSExceptionRequiresForwardSecrecy</key> <false/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key> <true/>
<key>NSExceptionRequiresForwardSecrecy</key> <false/>
</dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key> <true/>
<key>NSExceptionRequiresForwardSecrecy</key> <false/>
</dict>
</dict>
</dict>

Facebook getting started

关于ios - iOS 9 上的 Facebook 7.0.3 登录问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32652368/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com