Facebook iOS SDK登录无效 - NSException [英] Facebook iOS SDK login not functioning - NSException

查看:323
本文介绍了Facebook iOS SDK登录无效 - NSException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

跟随许多Facebook iOS SDK登录指南,包括:

Followed numerous Facebook iOS SDK login guides including:

  • https://developers.facebook.com/docs/facebook-login/ios/v2.3
  • http://www.brianjcoleman.com/tutorial-how-to-use-login-in-facebook-sdk-4-0-for-swift/

通过Facebook和其他指南的准确实施,仍然发生同样的问题。当运行应用程序时,单击登录按钮,然后在AppDelegate类的开头发生NSException(错误:libc ++ abi.dylib:以NSException类型的未捕获异常终止)。该按钮结果不起作用,并且不会打开另一个窗口到Facebook登录页面。模拟器可以使用互联网和代码,Info.plist拥有所有正确的数据和代码。

With accurate implementations of the Facebook and other guides the same problem is still occurring. When running the application the Log in button is clicked and then an NSException occurs at the start of the AppDelegate class (Error: "libc++abi.dylib: terminating with uncaught exception of type NSException"). The button as a result does nothing, and does not open another window to the Facebook login page. The simulator can use the internet and also the code and Info.plist has all the right data and code.

Facebook应用程序是否必须存在于公众记录从应用程序进入?在线应用程序处于开发人员模式。

Does the Facebook app have to be live to the public be logged into from the app? The app online is in developer mode.

推荐答案

显然,问题是没有找到Facebook应用程序ID。查看堆栈跟踪显示了问题,后来修正了。

Apparently, the problem was that the Facebook App ID was not found. Looking at the stack trace was revealing the problem, which was subsequently fixed.

这篇关于Facebook iOS SDK登录无效 - NSException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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