如何停止符号添加"< redacted>"件崩溃到iOS崩溃日志 [英] How to stop symbolicate adding "<redacted>" pieces to iOS Crash Log

查看:885
本文介绍了如何停止符号添加"< redacted>"件崩溃到iOS崩溃日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有来自App Store中的iPhone应用程序(通过iTunes Connect检索)的崩溃日志,在符号化后有一堆< redacted> CodeData和CoreFoundation中的方法名称。

I have crash logs from an iPhone Application in the App Store (retrieved via iTunes Connect) that after symbolicating have a bunch of "<redacted>" method names from CodeData and CoreFoundation.

iTunes Connect的原始崩溃日志文件如下所示:

The original crash log file from iTunes Connect looks like:

Last Exception Backtrace:
0   CoreFoundation                  0x34a0929e __exceptionPreprocess
1   libobjc.A.dylib                 0x32d1997a objc_exception_throw
2   CoreData                        0x3631fec2 -[NSSQLCore _obtainOpenChannel]
3   CoreData                        0x363cfd9c newFetchedRowsForFetchPlan_MT
4   CoreData                        0x363b3be6 -[NSSQLCore newFetchedPKsForSourceID:andRelationship:]
5   CoreData                        0x363a6008 -[NSSQLCore newValueForRelationship:forObjectWithID:withContext:error:]
6   CoreData                        0x3635690a -[NSFaultHandler retainedFulfillAggregateFaultForObject:andRelationship:withContext:]
7   CoreData                        0x36326d48 -[_NSFaultingMutableSet willRead]
8   CoreData                        0x3632767c -[_NSFaultingMutableSet allObjects]

在我的Mac上进行符号化后,日志显示如下:

The log looks like this after symbolicating on my Mac:

Last Exception Backtrace:
0   CoreFoundation                  0x34a0929e <redacted> + 158
1   libobjc.A.dylib                 0x32d1997a objc_exception_throw + 26
2   CoreData                        0x3631fec2 <redacted> + 230
3   CoreData                        0x363cfd9c <redacted> + 948
4   CoreData                        0x363b3be6 <redacted> + 2590
5   CoreData                        0x363a6008 <redacted> + 528
6   CoreData                        0x3635690a <redacted> + 478
7   CoreData                        0x36326d48 <redacted> + 220
8   CoreData                        0x3632767c <redacted> + 20
9   [myappname]                     [memory addresses here]
...

任何人都可以帮助找到原因< redacted>被添加到符号版本?
来自我自己应用程序的符号被标记为正常,如上所示,基本的libobjc符号也是如此。

Can anyone help find why "<redacted>" gets added to the symbolicated versions? Symbols from my own App are symbolicated fine, as are basic libobjc symbols as you can see above.

UPDATE :切换Kerni回答后日志更清楚

UPDATE: Switched around the logs to be clearer after Kerni's answer

推荐答案

我遇到了同样的问题,删除了所有的iOS 6.0(包括beta)数据来自〜/ Library / Developer / Xcode / iOS DeviceSupport。

I had the same problem and got rid of messages by deleting all iOS 6.0 (including beta) data from ~/Library/Developer/Xcode/iOS DeviceSupport.

现在,symbolicate使用符号数据存储在 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0(1010403)/ 中,而不是存储的符号数据用户库。

Now, symbolicate uses the symbol data stored at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0 (10A403)/
instead of the stored symbol data in user library.

这篇关于如何停止符号添加&quot;&lt; redacted&gt;&quot;件崩溃到iOS崩溃日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆