我的应用程序偶尔会因某些用户而崩溃,我无法重现该问题。
我已经设法从我已导入 Xcode 的一位用户那里获得了一些崩溃报告,但我无法完全用一些myApp行来表示这些报告,这些行没有显示被调用的实际类/代码。两个示例堆栈跟踪提取:
Last Exception Backtrace:
0 CoreFoundation 0x39e5c3e2 __exceptionPreprocess + 158
1 libobjc.A.dylib 0x38eb595e objc_exception_throw + 26
2 CoreFoundation 0x39da66d0 -[__NSPlaceholderArray initWithObjects:count:] + 160
3 CoreFoundation 0x39da6e04 +[NSArray arrayWithObject:] + 40
4 myApp 0x0012117c 0x63000 + 778620
5 myApp 0x0012c700 0x63000 + 825088
6 myApp 0x00148784 0x63000 + 939908
7 myApp 0x0013caf0 0x63000 + 891632
8 myApp 0x0013b9da 0x63000 + 887258
9 myApp 0x0006bda2 -[myAppAppDelegate init] (myAppAppDelegate.m:45)
10 UIKit 0x3380d8aa -[UIClassSwapper initWithCoder:] + 186
Last Exception Backtrace:
0 CoreFoundation 0x39e5c3e2 __exceptionPreprocess + 158
1 libobjc.A.dylib 0x38eb595e objc_exception_throw + 26
2 CoreFoundation 0x39da66d0 -[__NSPlaceholderArray initWithObjects:count:] + 160
3 CoreFoundation 0x39da6e04 +[NSArray arrayWithObject:] + 40
4 myApp 0x000c217c 0x4000 + 778620
5 myApp 0x000cd700 0x4000 + 825088
6 myApp 0x000e9784 0x4000 + 939908
7 myApp 0x000ddaf0 0x4000 + 891632
8 myApp 0x000dc9da 0x4000 + 887258
9 myApp 0x0000cda2 -[myAppAppDelegate init] (myAppAppDelegate.m:45)
10 UIKit 0x3380d8aa -[UIClassSwapper initWithCoder:] + 186
这是一个从归档构建提交到商店的应用程序,该构建仍然存在于 Xcode 中。我还尝试了 atos 命令,并运行了几个可用的符号脚本,但均未成功。(我 100% 确定我有正确的 .app 和 .dSYM 文件)。
任何人都知道我如何能够找到有关这些堆栈跟踪的更多信息并确定此崩溃发生的位置?
(注意:我知道第 9 行引用了应用程序委托的init
命令,这非常有用。我的问题专门针对未符号化的后续调用)
谢谢!