我无法找到错误的原因...请帮助...
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
答案 0 :(得分:0)
看起来FBSDK正在调用特定tableViewRow上的某种工具提示对象,但AlarmListViewController.table cellForRowAtIndexPath:
正在崩溃。
由于您要求帮助识别此堆栈跟踪中的错误,我建议您添加 Exception Breakpoint (如果尚未添加)。这将帮助您精确定位发生错误的确切行。如果这不起作用,那么尝试在cellForRowAtIndexPath:
中放置一个断点并再次运行应用程序,逐步执行代码,直到找到导致错误的行和条件。希望这有帮助!