简体   繁体   English

如何从Apple读取此崩溃日志

[英]How can I read this crash log from Apple

I just had my app reviewed by Apple and it apparently crashed, which I cannot reproduce (same device and iOS version). 我刚刚让我的应用程序被Apple审查,但显然崩溃了,无法复制(同一设备和iOS版本)。

The app crashed when they clicked on a button which 1. Shows a new view with a modal segue 2. Accesses address book 当他们单击一个按钮时,该应用程序崩溃了:1.显示带有模态搜索的新视图2.访问通讯录

I've been looking at the two crashlogs they sent me but I'm stuck, while it doesn't look very complicated. 我一直在看他们发送给我的两个崩溃日志,但是我被卡住了,虽然看起来并不复杂。

Could you help me and guide me through it? 您能帮助我并指导我完成吗?

Thanks a lot! 非常感谢!

I renamed my app MyGreatApp in the log, and just pasted the part about the thread that crashed, if you need anything else, please ask ! 我在日志中重命名了我的应用程序MyGreatApp,并刚刚粘贴了有关崩溃线程的部分,如果您需要其他任何内容,请询问!

Edit: I symbolicated the log thanks to @Larme , pretty self explanatory now :) 编辑:感谢@Larme,我将日志符号化了,现在非常自我解释:)

So does this mean it could not instantiate the view from storyboard? 那么这是否意味着无法从情节提要中实例化视图? the obj_exception throw means that the controller does not exist? obj_exception throw意味着控制器不存在? Because it works fine on my device… 因为它可以在我的设备上正常工作...

    {"bundleID":"com.mygreatcompany.MyGreatApp","app_name":"MyGreatApp","bug_type":"109","name":"MyGreatApp","os_version":"iPhone OS 7.1.2 (11D257)","version":"1.0 (1.0)"}
Incident Identifier: 4566AD36-97C0-4064-9A4B-8A73312D8201
CrashReporter Key:   ca6a56d3ed180cf7e13810af8336141d041a0ab1
Hardware Model:      xxx
Process:             MyGreatApp [3158]
Path:                /var/mobile/Applications/81C2C8B9-8CA5-4F5A-8E1F-BFEA4A6F81B3/MyGreatApp.app/MyGreatApp
Identifier:          com.mygreatcompany.MyGreatApp
Version:             1.0 (1.0)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2014-08-18 12:16:59.806 -0700
OS Version:          iOS 7.1.2 (11D257)
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x182c4b100 __exceptionPreprocess + 132
1   libobjc.A.dylib                 0x18f6281fc objc_exception_throw + 60
2   UIKit                           0x186156188 -[UIStoryboard instantiateViewControllerWithIdentifier:] + 528
3   MyGreatApp                      0x100022d60 +[User addFriendsWithContactsAndViewController:] (User.m:113)
4   MyGreatApp                      0x10003d8cc -[SendEventViewController tableView:didSelectRowAtIndexPath:] (SendEventViewController.m:310)
5   UIKit                           0x185d45780 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1264
6   UIKit                           0x185e0621c -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 240
7   UIKit                           0x185c9a458 _applyBlockToCFArrayCopiedToStack + 356
8   UIKit                           0x185c0648c _afterCACommitHandler + 504
9   CoreFoundation                  0x182c0b858 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
10  CoreFoundation                  0x182c08ae0 __CFRunLoopDoObservers + 372
11  CoreFoundation                  0x182c08e6c __CFRunLoopRun + 764
12  CoreFoundation                  0x182b49dd0 CFRunLoopRunSpecific + 452
13  GraphicsServices                0x1887e9c0c GSEventRunModal + 168
14  UIKit                           0x185c7afc4 UIApplicationMain + 1156
15  MyGreatApp                      0x10003ed68 main (main.m:16)
16  libdyld.dylib                   0x18fc1baa0 start + 4

After symbolicating the crashlog (thanks @Larme) it became obvious that I was trying to instantiate a view controller from storyboard with an identifier that didn't exist! 在象征了崩溃日志之后(感谢@Larme),很明显我正在尝试使用不存在的标识符从情节提要实例化视图控制器! Just had to go in storyboard and put the right identifier on the view controller. 只需进入情节提要,然后在视图控制器上放置正确的标识符即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM