FBSDK 登录错误代码:Objective-C 中的 308 [英] FBSDK Login Error Code: 308 in Objective-C

查看:27
本文介绍了FBSDK 登录错误代码:Objective-C 中的 308的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在接受

"Error Domain=com.facebook.sdk.login Code=308 "操作失败完成.(com.facebook.sdk.login 错误 308.)""

"Error Domain=com.facebook.sdk.login Code=308 "The operation couldn’t be completed. (com.facebook.sdk.login error 308.)""

尝试从我的设备登录 Facebook 时.

upon trying to login with Facebook from my device.

我的代码适用于模拟器,但不适用于实际设备.有没有人遇到过这个错误代码?我很乐意应要求分享代码.

My code works on the simulator, but not on an actual device. Has anyone ran into this error code before? I'll be more than happy to share code upon request.

推荐答案

一个解决方案,至少对我来说,是不通过 Xcode 调试器在设备上运行.如果我在调试器之外的设备上运行该应用程序,则 Facebook 登录工作正常.如果我通过调试器在 sim 中运行该应用程序,Facebook 登录就可以正常工作.

One solution, at least for me, is to not run on device via the Xcode debugger. If I run the app on device outside the debugger the Facebook login works fine. If I run the app in the sim via the debugger the Facebook login works fine.

只有当我通过 Xcode 调试器在设备上运行应用程序时,我才会每次都收到 com.facebook.sdk.login 错误 308.

Only if I run the app on device via the Xcode debugger do I get the com.facebook.sdk.login error 308 every time.

这篇关于FBSDK 登录错误代码:Objective-C 中的 308的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆