崩溃文件没有符号化



我最新(生产中)应用程序的崩溃文件没有符号,我无法使任何手动符号化过程正常工作。一些用户仍在运行的旧版本的应用程序似乎象征着一切正常。

我已经验证了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"的链接并不像其他帖子所示的那样存在。

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

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

使用symbolicatecrash实用程序也没有运气,如所述

你知道为什么Xcode 7.3.1不能使用它吗?

更新:

当我们上传到iTunes Connect时,我们已经确保选中了包含dSYM的复选框。构建的BuildDetails显示"Includes Symbols=YES",但没有下载dSYM的链接。如果我试图从Xcode下载它,它会说它不见了。知道为什么吗?

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

我发现下面的帖子"如何解决符号化问题"非常有助于证明我的崩溃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

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

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

更新请参阅下面的更新-这似乎只适用于使用位代码上传的应用程序。

最新更新