我刚接触iOS并开发了一款应用。问题是当我使用它时应用程序工作正常,但在客户端它崩溃与以下日志: -
Incident Identifier: 74AEF6C5-98CE-45D3-A7F3-67D54FD66D4D
CrashReporter Key: TODO
Hardware Model: iPhone5,2
Process: MobileiOS [246]
Path: /var/mobile/Containers/Bundle/Application/F9FF0CF3-DC56-428C-8CB0-40C31A3B4434/MobileiOS.app/MobileiOS
Identifier: com.mjapps.MobileXam
Version: 1.0 (1.0)
Code Type: ARM
Parent Process: ??? [1]
Date/Time: 2016-03-29 08:26:57 +0000
OS Version: iPhone OS 9.2.1 (13D15)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x20e51c84
Crashed Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x20e51c84 __pthread_kill (in libsystem_kernel.dylib) + 8
1 libsystem_c.dylib 0x20de80c5 abort (in libsystem_c.dylib) + 109
2 MobileiOS 0x00ac8fc0 0x31000 + 11108288
3 MobileiOS 0x00a03fdd 0x31000 + 10301405
4 MobileiOS 0x00a035dd 0x31000 + 10298845
5 MobileiOS 0x00a027b3 0x31000 + 10295219
6 MobileiOS 0x009fc45b 0x31000 + 10269787
7 MobileiOS 0x003de9bc 0x31000 + 3856828
8 MobileiOS 0x000b8c64 0x31000 + 556132
9 MobileiOS 0x0008a7bc 0x31000 + 366524
10 MobileiOS 0x0008b028 0x31000 + 368680
11 MobileiOS 0x003ab754 0x31000 + 3647316
12 MobileiOS 0x00a0ce87 0x31000 + 10337927
13 MobileiOS 0x00a5ce85 0x31000 + 10665605
14 MobileiOS 0x009a64cd 0x31000 + 9917645
15 MobileiOS 0x009ab415 0x31000 + 9937941
16 UIKit 0x256960c9 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] (in UIKit) + 673
17 UIKit 0x25696209 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] (in UIKit) + 69
18 UIKit 0x2568596d -[UITableView _updateVisibleCellsNow:isRecursive:] (in UIKit) + 2269
19 UIKit 0x2569aa47 -[UITableView _performWithCachedTraitCollection:] (in UIKit) + 79
20 UIKit 0x2543c16f -[UITableView layoutSubviews] (in UIKit) + 179
21 UIKit 0x2534da83 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] (in UIKit) + 715
22 QuartzCore 0x23429ad5 -[CALayer layoutSublayers] (in QuartzCore) + 129
23 QuartzCore 0x234251d1 CA::Layer::layout_if_needed(CA::Transaction*) (in QuartzCore) + 353
24 QuartzCore 0x23425061 CA::Layer::layout_and_display_if_needed(CA::Transaction*) (in QuartzCore) + 17
25 QuartzCore 0x23424581 CA::Context::commit_transaction(CA::Transaction*) (in QuartzCore) + 369
26 QuartzCore 0x23424233 CA::Transaction::commit() (in QuartzCore) + 615
27 QuartzCore 0x2341d9ef CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) (in QuartzCore) + 139
28 CoreFoundation 0x2117cb21 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ (in CoreFoundation) + 21
29 CoreFoundation 0x2117ae17 __CFRunLoopDoObservers (in CoreFoundation) + 283
30 CoreFoundation 0x2117b255 __CFRunLoopRun (in CoreFoundation) + 973
31 CoreFoundation 0x210cdbb9 CFRunLoopRunSpecific (in CoreFoundation) + 517
32 CoreFoundation 0x210cd9ad CFRunLoopRunInMode (in CoreFoundation) + 109
33 GraphicsServices 0x22347af9 GSEventRunModal (in GraphicsServices) + 161
34 UIKit 0x253b9fb5 UIApplicationMain (in UIKit) + 145
35 MobileiOS 0x00124568 0x31000 + 996712
36 MobileiOS 0x000beab4 0x31000 + 580276
37 MobileiOS 0x000bea74 0x31000 + 580212
38 MobileiOS 0x000708e0 0x31000 + 260320
39 MobileiOS 0x003ab754 0x31000 + 3647316
40 MobileiOS 0x00a0ce87 0x31000 + 10337927
41 MobileiOS 0x00a5ce85 0x31000 + 10665605
42 MobileiOS 0x00a6054b 0x31000 + 10679627
43 MobileiOS 0x00adbe88 0x31000 + 11185800
44 MobileiOS 0x009b300d 0x31000 + 9969677
45 libdyld.dylib 0x20d80873 start (in libdyld.dylib) + 3
客户端不想给我们测试用户,因此我无法调试它。任何可能失败的指导都会帮助我走上正确的道路。任何帮助表示赞赏。
答案 0 :(得分:0)
为了完整起见,我将在这里为我的博客文章添加一个答案,该帖子在上面的评论中被BytesGuy链接。
您需要在客户端设备上运行的.app。您还需要一个与此.app匹配的.dSYM。除非你在构建.app文件时专门保留它,否则你不太可能拥有它。如果您仍然将它放在bin / Release | Debug文件夹中 - 请使用它。如果没有,你将不得不建立一个新的.app和.dSYM。这段时间保持在某个地方。
客户端需要使用此新版本的.app文件并再次发生崩溃。既然您保留了匹配它的.app和.dSYM,您就可以使用my blog中的技术来表示任何新的崩溃报告。