0

我找不到错误的原因...请帮助...

0   CoreFoundation  CFStringCreateCopy (in CoreFoundation) + 36

1   libswiftCore.dylib  0x100a149d8 0x10094c000 + 821720

2   libswiftCore.dylib  0x1009f85b0 0x10094c000 + 705968

3   XXX_APP_NAME    XXX_APP_NAME.JSON.uInt8.setter : Swift.UInt8? (in XXX_APP_NAME  (SwiftyJSON.swift:866)

4   XXX_APP_NAME    _fbsdkCreateUpPointingBubbleWithRect (in XXX_APP_NAME) (FBSDKTooltipView.m:320)

5   XXX_APP_NAME    +[FBSDKLoginManager renewSystemCredentials:] (in XXX_APP_NAME  (FBSDKLoginManager.m:97)

6   XXX_APP_NAME    -[FBSDKTooltipView presentFromView:] (in XXX_APP_NAME) (FBSDKTooltipView.m:146)

7   XXX_APP_NAME    -[FBSDKTooltipView presentInView:withArrowPosition:direction:] (in XXX_APP_NAME  (FBSDKTooltipView.m:171)

8   CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation) + 24

9   CoreFoundation  __CFRunLoopDoSources0 (in CoreFoundation) + 264

10  CoreFoundation  __CFRunLoopRun (in CoreFoundation) + 712

11  CoreFoundation  CFRunLoopRunSpecific (in CoreFoundation) + 396

12  GraphicsServices    GSEventRunModal (in GraphicsServices) + 168

13  UIKit   UIApplicationMain (in UIKit) + 1488

14  XXX_APP_NAME    XXX_APP_NAME.AlarmListViewController.tableView (XXX_APP_NAME.AlarmListViewController)(ObjectiveC.UITableView, cellForRowAtIndexPath : ObjectiveC.NSIndexPath) -> ObjectiveC.UITableViewCell (in XXX_APP_NAME) (AlarmListViewController.swift:112)

15  libdyld.dylib   start (in libdyld.dylib) + 4
4

1 回答 1

0

看起来 FBSDK 正在调用特定 tableViewRow 上的某种工具提示对象,但它AlarmListViewController.table cellForRowAtIndexPath:正在崩溃。

由于您正在寻求帮助识别此堆栈跟踪中的错误,因此如果您还没有这样做,我建议您添加一个异常断点。这将帮助您查明发生错误的确切位置。如果这不起作用,则尝试在其中放置断点cellForRowAtIndexPath:并再次运行应用程序,单步执行代码直到找到导致错误的行和条件。希望这可以帮助!

于 2015-09-16T14:04:07.490 回答