kstenerud / KSCrash

The Ultimate iOS Crash Reporter
MIT License
4.23k stars 706 forks source link

使用KSCrash+Symbolicatecrash日志分析 报错 手机系统文件架构是arm64e #473

Closed 1025550 closed 3 months ago

1025550 commented 4 months ago

您好 ,我使用kscrash 保存崩溃日志信息到本地 id filter = [KSCrashReportFilterAppleFmt filterWithReportStyle:KSAppleReportStyleSymbolicatedSideBySide];

    NSArray *reports = @[object];
    [filter filterReports:reports
             onCompletion:^(NSArray *filteredReports, BOOL completed, NSError *error) {
        if(error != nil) {
            return;
        }

        if(completed) { 然后使用Symbolicatecrash日志分析,使用iOS17.4.1的手机崩溃信息无法符号化,报以下的错误

企业微信截图_83a59d32-71dc-4e03-a4bb-3dbfd00aab46 ,见附件,但是我使用iOS14.0的手机是可以符号化的,附件是我解析文件的 Crash1.zip ,望解答!

GLinnik21 commented 4 months ago

Hello @1025550, As this community primarily communicates in English, and to ensure we understand your issue correctly, could you kindly rewrite your message in English? This will help ensure that all participants can follow and contribute to the discussion effectively. Thank you!

1025550 commented 4 months ago

Hello, I use kscrash to save crash log information locally : filter = [KSCrashReportFilterAppleFmt filterWithReportStyle:KSAppleReportStyleSymbolicatedSideBySide];

NSArray *reports = @[object];
[filter filterReports:reports
         onCompletion:^(NSArray *filteredReports, BOOL completed, NSError *error) {
    if(error != nil) {
        return;
    }

    if(completed) {

Using a Symbolicatecrash log analysis, phone crashes using iOS17.4.1 could not be symbolized, reporting the following error 企业微信截图_83a59d32-71dc-4e03-a4bb-3dbfd00aab46 About this file libsystem_c.dylib, I check that the architecture of the mobile phone system to generate crash logs is arm64e, but the crash information generated by kscrash is arm64, and my mobile phone is also arm64e. So I guess there is something wrong with the architecture of the crash log exported by kscrash。 Attached is my parsing file Crash1.zip thank you!

bamx23 commented 4 months ago

@1025550 may I ask you to tell the version of KSCrash you're using? There was a fix in 1.16.2 (#415) that might solve this issue for you if you're on some version older than that.

GLinnik21 commented 3 months ago

Closing for inactivity