没有符号化的崩溃文件

时间:2016-05-31 21:30:05

标签: xcode xcode7 symbolicatecrash symbolicate

我最近(生产中)应用程序的崩溃文件没有符号,我无法使任何手动符号化过程起作用。某些用户仍在运行的应用程序的旧版本似乎被象征化了。

我已经验证Xcode有存档:

1) Xcode > Organizer > Archives
2) Select archive and check version matches crash
3) Right-click > Show in Finder
4) right-click .xcarchive > Show package contents

Result:
the .dSYM file exists in 'dSYMs' directory
the .app  file exists in 'Products/Applications' directory

iTunesConnect包含符号,因此AFAIK存档已正确构建和上传。请注意,指向“下载dSym”的链接 NOT 作为some other posts indicate存在。

1) My Apps > select app > Activity > All Builds
2) Select version that matches crash
3) General Information = Yes

我试图通过将崩溃日志拖到现有设备上来强制XCode进行符号化,如herehere所述

here

所述,使用symbolicatecrash实用程序运气不佳

知道为什么这不适用于Xcode 7.3.1?

更新

当我们上传到iTunes Connect时,我们确保选中复选框以包含dSYM。构建的BuildDetails显示“包含符号= YES”,但没有下载dSYM的链接。如果我尝试从Xcode下载它,它说它丢失了。知道为什么吗?

更新 - 证明崩溃UUID与我的dSYM匹配

我发现以下帖子How to solve symbolication problems非常有用,可以证明我的崩溃UUID与归档的UUID相匹配。它们匹配,所以我已经在我的机器上有正确的存档,用于未被符号化的崩溃。

Find the UUID in the crash report
    - line just after "Binary Images" 
    - 0x100078000 - 0x1006ebfff MyApp arm64  <381e625bf2cc3703b0c76c723155c931>

    UUID = 381e625bf2cc3703b0c76c723155c931 for the crash file


Find the UUID in the app binary
    - Show Package Contents: MyApp-version.xcarchive/Products/Applications
    - run: dwarfdump --uuid MyApp.app/MyApp

    Result:
    UUID: 381E625B-F2CC-3703-B0C7-6C723155C931 (arm64) MyApp.app/MyApp

    UUID matches, just formatted to upper case with separators
    Proves the .app file matches the crash file

Find the UUID of the dSYM
    - Show Package Contents: MyApp-version.xcarchive/dSYMs
    - run: dwarfdump --uuid MyApp.app.dSYM

    Result:
    UUID: 381E625B-F2CC-3703-B0C7-6C723155C931 (arm64) MyApp.app.dSYM/Contents/Resources/DWARF/MyApp

    UUID matches - proves the dSYM file matches the crash file

1 个答案:

答案 0 :(得分:0)

上传二进制文件时出现问题,因为My Apps > select app > Activity > All Builds > select version > Build Details > Includes Symbols下应存在下载dSYM的链接。

您应该提高您的内部版本号并上传另一个二进制文件。如果您仍然没有看到Download dSYM链接,请更新您的问题。

更新请参阅下面的更新 - 对于使用bitcode上传的应用,这似乎是正确的。

相关问题