FACEBOOK登录:由于未捕获的异常“ NSInvalidArgumentException”而终止应用程序

时间:2019-03-19 09:20:56

标签: ios swift xcode facebook login

我在Facebook上遵循了iOS SDK指南。但是,当我单击带有Facebook图标的登录名时,我就将页面调高了。但是,当我在facebook上单击“继续”时,该应用程序将关闭,并被踢出该应用程序。

  

019-03-18 22:39:46.552355 + 0100 APPNAME [75124:2466803]

     

由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:' -[__ NSPlaceholderDictionary initWithObjects:forKeys:count:]:尝试从对象中插入零对象[3 ]'

First throw call stack:

(

0   CoreFoundation                      0x0000000111c2b1bb __exceptionPreprocess + 331

1   libobjc.A.dylib                     0x000000010fdf5735 objc_exception_throw + 48

2   CoreFoundation                      0x0000000111b774ec _CFThrowFormattedException + 194

3   CoreFoundation                      0x0000000111c9a541 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321

4   CoreFoundation                      0x0000000111c26c9b +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59

5   APPNAME                              0x000000010e481d90 -[ViewController Callfb_LoginService:] + 576

6   APPNAME                              0x000000010e480a3f __33-[ViewController GetFBUserDetail]_block_invoke + 1999

7   APPNAME                              0x000000010e6d2d20 -[FBSDKGraphRequestMetadata invokeCompletionHandlerForConnection:withResults:error:] + 146

8   APPNAME                              0x000000010e6d9532 __82-[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:]_block_invoke396 + 141

9   APPNAME                              0x000000010e6d92d6 -[FBSDKGraphRequestConnection processResultBody:error:metadata:canNotifyDelegate:] + 1065

这只是错误日志的一部分。

如果有人可以在这里帮助我,将不胜感激!

谢谢

0 个答案:

没有答案