简体   繁体   English

来自 Apple 评论的符号化 iOS 崩溃报告仍不可读

[英]Symbolicated iOS crash report from Apple review still not readable

I got a crash report from Apple and symbolicated it following this document , but I still didn't understand the report.我从 Apple 收到了一份崩溃报告,并在此文档之后对其进行了符号化,但我仍然不明白该报告。

First, I tried below "XCode approach" to symbolicate the report:首先,我尝试了下面的“XCode 方法”来象征报告:

  1. Connect an iOS device to your Mac将 iOS 设备连接到 Mac
  2. Choose "Devices" from the "Window" menu从“窗口”菜单中选择“设备”
  3. Under the "DEVICES" section in the left column, choose a device在左列的“设备”部分下,选择一个设备
  4. Click the "View Device Logs" button under the "Device Information" section on the right hand panel单击右侧面板“设备信息”部分下的“查看设备日志”按钮
  5. Drag your crash report onto the left column of the presented panel将您的崩溃报告拖到所显示面板的左列
  6. Xcode will automatically symbolicate the crash report and display the results Xcode 会自动符号化崩溃报告并显示结果

Before that, I downloaded dSYM files from App Store by 'Organizer' and copied them into a separated folder.在此之前,我通过“Organizer”从 App Store 下载了 dSYM 文件,并将它们复制到一个单独的文件夹中。 But all the symbolicated names looked like this:但是所有符号化的名字看起来像这样:

5   Recycling                       0x10103b464 fb1UCM8vZCiE + 355
6   Recycling                       0x1010431d4 fbkUVUzGnhkS + 1655
7   Recycling                       0x101038a78 fbIiaWxkoUb6 + 307

And then, I tried the approach from this blog , but the problem remained:然后,我尝试了此博客中的方法,但问题仍然存在:

{"app_name":"Recycling","timestamp":"2020-02-08 00:00:51.02 +0800","app_version":"1.7.3","slice_uuid":"20cdeb29-1f14-3298-9649-503635ded968","adam_id":1406292831,"build_version":"3","bundleID":"com.qdjzd.Recycling","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.3.1 (17D50)","incident_id":"36AEED5C-F4AD-4711-926E-783D4783039E","name":"Recycling"}
Incident Identifier: 36AEED5C-F4AD-4711-926E-783D4783039E
CrashReporter Key:   665569f89a7cca0567f04077cd6e5757ddeffea5
Hardware Model:      xxx1
Process:             Recycling [6029]
Path:                /private/var/containers/Bundle/Application/0A62AE5B-BE91-4A30-8CB5-A6137DE9DCC1/Recycling.app/Recycling
Identifier:          com.qdjzd.Recycling
Version:             3 (1.7.3)
AppStoreTools:       11C29
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.qdjzd.Recycling [1787]


Date/Time:           2020-02-08 00:00:50.8368 +0800
Launch Time:         2020-02-08 00:00:22.0052 +0800
OS Version:          iPhone OS 13.3.1 (17D50)
Release Type:        User
Baseband Version:    n/a
Report Version:      104

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

Last Exception Backtrace:
0   CoreFoundation                  0x1abab8a48 0x1ab98d000 + 1227336
1   libobjc.A.dylib                 0x1ab7dffa4 0x1ab7da000 + 24484
2   CoreFoundation                  0x1ab9c0e34 0x1ab98d000 + 212532
3   CoreServices                    0x1ac1232d8 0x1ac056000 + 840408
4   Foundation                      0x1abd736f8 0x1abd69000 + 42744
5   Recycling                       0x10103b464 fb1UCM8vZCiE + 355
6   Recycling                       0x1010431d4 fbkUVUzGnhkS + 1655
7   Recycling                       0x101038a78 fbIiaWxkoUb6 + 307
8   libsystem_pthread.dylib         0x1ab7d3d8c 0x1ab7c9000 + 44428
9   libsystem_pthread.dylib         0x1ab7d776c 0x1ab7c9000 + 59244

Can anyone help me?谁能帮我?

In Xcode 10 you can follow these steps:在 Xcode 10 中,您可以按照以下步骤操作:

Inside Organizer, locate the archive where the app is based on.在 Organizer 中,找到应用程序所基于的存档。 Click on the Download Debug Symbols button.单击下载调试符号按钮。 Nothing will appear in your Downloads folder, but that's OK.您的“下载”文件夹中不会出现任何内容,但没关系。 Connect the build machine to an iOS device.将构建机器连接到 iOS 设备。 Select the device in Devices and Simulators.在设备和模拟器中选择设备。 Click on the View Devices Logs button.单击查看设备日志按钮。 Drag-and-drop the crash file to the left panel.将崩溃文件拖放到左侧面板。 The file must end with a .crash extension, otherwise the drag fails.该文件必须以 .crash 扩展名结尾,否则拖动失败。 Switch to the All Logs tab.切换到所有日志选项卡。 Select the added crash file.选择添加的崩溃文件。 The file should automatically symbolicate, otherwise use the right-click context menu item Re-Symbolicate Log.该文件应自动符号化,否则使用右键单击上下文菜单项重新符号化日志。

Thanks for everyone!谢谢大家! I finally resolved this problem by myself.我终于自己解决了这个问题。

The reason is that I used a 3rd-party library named UMCCommon with version 1.5.3 , and all of its symbols are obfuscated , so I can not understand.原因是我用的是1.5.3版本的UMCCommon第三方库,所有符号都被混淆了,看不懂。

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

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