ios Crashlytics:“我们缺少一个 dSYM 来处理崩溃”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34077722/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Crashlytics: "We're missing a dSYM to process crashes"
提问by Ashish Awaghad
Crashlytics says "We're missing a dSYM to process crashes" and when I try to download dSYMs from Xcode (7.1), I get "there are no dsyms available for download"
Crashlytics 说“我们缺少一个 dSYM 来处理崩溃”,当我尝试从 Xcode (7.1) 下载 dSYM 时,我得到“没有可供下载的 dsyms”
回答by Lane Rettig
I ran into the same problem today. It seems that iTunes Connect is recompiling apps with bitcode so that the UUID changes, and the dSYM inside the .xcarchive can't actually be used to symbolicate the app (this appears to be a new development).
我今天遇到了同样的问题。似乎 iTunes Connect 正在使用 bitcode 重新编译应用程序,以便 UUID 更改,并且 .xcarchive 中的 dSYM 实际上不能用于符号化应用程序(这似乎是一个新的发展)。
You can download the correct dSYM from iTunes Connect. Login, go to My Apps, select your app, then tap on the Activity tab at the top. Tap on the relevant build, and, assuming the app was submitted with symbols in the first place, you should see the option to "Download dSYM."
您可以从 iTunes Connect 下载正确的 dSYM。登录,转到我的应用程序,选择您的应用程序,然后点击顶部的活动选项卡。点击相关版本,假设应用程序首先提交时带有符号,您应该会看到“下载 dSYM”选项。
The file you get is called dSYMs (without an extension) but it is in fact a zip file. Add the .zip extension, unzip, and you'll find your dSYM(s) inside.
你得到的文件叫做 dSYMs(没有扩展名),但它实际上是一个 zip 文件。添加 .zip 扩展名,解压,你会在里面找到你的 dSYM(s)。
You can upload this .zip file directly to Crashlytics and you should be all set.
您可以将此 .zip 文件直接上传到 Crashlytics,您应该已准备就绪。
The solution was posted here: https://twittercommunity.com/t/not-matching-uuid-bitcode/61000
解决方案张贴在这里:https: //twittercommunity.com/t/not-matching-uuid-bitcode/61000
回答by Techi50
There is another way to get to your dSYM.
还有另一种方法可以访问您的 dSYM。
- From the organizer, right click on the archive and select "Show in Finder"
- Right click on the .xcarchive shown in Finder and select "Show Package Contents"
- Copy the "dSYMs" folder found inside to somewhere else.
- Compress the "dSYMs" folder and upload it to Crashlytics.
- 从组织者中,右键单击存档并选择“在 Finder 中显示”
- 右键单击 Finder 中显示的 .xcarchive 并选择“显示包内容”
- 将内部找到的“dSYMs”文件夹复制到其他地方。
- 压缩“dSYMs”文件夹并将其上传到 Crashlytics。
回答by Shawn
If anyone cannot find the dSYM file in the .archive package or on iTunes Connect like me, please check Build Settings -> Debug Information Format -> Release -> DWARF with dSYM File
is correctly set.
如果有人像我一样在 .archive 包或 iTunes Connect 上找不到 dSYM 文件,请检查Build Settings -> Debug Information Format -> Release -> DWARF with dSYM File
设置是否正确。
回答by Dariusz Rusin
In my case nothing work. I downloaded dSYMs from iTunes. I have correct UUID. I tried upload normal dsym, zipped dsym, zipped specific dsym and many other configs.
就我而言,没有任何作用。我从 iTunes 下载了 dSYM。我有正确的 UUID。我尝试上传普通 dsym、压缩 dsym、压缩特定 dsym 和许多其他配置。
Fabric accept the files, says that uploaded correctly and after refresh... This same error with missing dSYMs.
Fabric 接受文件,表示已正确上传并在刷新后...丢失 dSYM 的相同错误。
回答by Uzumaki Naruto
@Shawn's answer actually helped me fix this permanently for my instance, with no need to upload dSYMs manually. Basically go to Build Settings
and then turn on these parameters:
@Shawn的回答实际上帮助我为我的实例永久解决了这个问题,无需手动上传 dSYM。基本上去Build Settings
然后打开这些参数:
- Debug:DWARF with dSYM File
- Release:DWARF with dSYM File
- Enable Bitcode:No
- 调试:带有 dSYM 文件的 DWARF
- 发布:带有 dSYM 文件的 DWARF
- 启用位码:否
This seems to work well when you've NOT gone through the iTunes Connect path yet and just want to test your app with Crashlytics in the "development" mode.
当您还没有通过 iTunes Connect 路径并且只想在“开发”模式下使用 Crashlytics 测试您的应用程序时,这似乎很有效。