xcode 向新项目添加了 Fabric/Crashlytics 但不上传 dSYM
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31565527/
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
Added Fabric/Crashlytics to new project but doesn't upload dSYM
提问by Jon Cox
I've just created a new iOS Swift project, using Xcode 7 beta-4, and have integrated Crashlytics(part of Fabricnow) with the usual process.
我刚刚使用 Xcode 7 beta-4 创建了一个新的 iOS Swift 项目,并将Crashlytics(现在是Fabric 的一部分)与通常的过程集成在一起。
It integrated all fine, and I can simulate crashes etc.
它集成得很好,我可以模拟崩溃等。
However when I go to the Crashlytics dashboard it warns me that:
但是,当我转到 Crashlytics 仪表板时,它警告我:
Missing dSYM
We're missing a dSYM to process crashes, upload it here!
缺少 dSYM
我们缺少用于处理崩溃的 dSYM,请在此处上传!
And none of the crashes show up.
并且没有出现任何崩溃。
Clicking the warning message (it's link is mentioned here: http://docs.fabric.io/ios/crashlytics/crashlytics.html#troubleshooting) gives me a list UUIDs Crashlytics is missing dSYMs for.
单击警告消息(此处提到了它的链接:http: //docs.fabric.io/ios/crashlytics/crashlytics.html#troubleshooting)给了我一个列表 UUIDs Crashlytics 缺少 dSYMs。
The page gives the option to upload a dSYM, which I have tried doing (getting it from /Users/me/Library/Developer/Xcode/DerivedData/MyApp-xxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug-iphoneos). However after doing so this does not resolve the issue.
该页面提供了上传 dSYM 的选项,我曾尝试这样做(从 /Users/me/Library/Developer/Xcode/DerivedData/MyApp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug-iphoneos 获取)。但是,这样做后并不能解决问题。
I've tried getting the frameworks from CocoaPods instead of manually adding them, in case that made a difference. It didn't.
我尝试从 CocoaPods 获取框架,而不是手动添加它们,以防万一。它没有。
-
——
So my only thought is perhaps Crashlytics doesn't handle dSYMs produced by Xcode 7 beta? Or is there something fundamental I've overlooked?
所以我唯一的想法可能是 Crashlytics 不处理 Xcode 7 beta 生成的 dSYM?还是我忽略了一些基本的东西?
Many thanks for your help!
非常感谢您的帮助!
-
——
UPDATE:
更新:
After many back and forth emails with the Crashlytics team, this particular problem was discovered by them to be caused by changes made in one the beta Xcode 7 versions. A fix to Crashlytics was pushed out and since then it worked.
在与 Crashlytics 团队多次来回发送电子邮件后,他们发现这个特殊问题是由测试版 Xcode 7 版本中的更改引起的。对 Crashlytics 的修复被推出,从那时起它就起作用了。
If you're experiencing similar issues, I suggest first ensuring you're using a release version of Xcode, and also the latest version of Crashlytics :)
如果您遇到类似问题,我建议您首先确保您使用的是 Xcode 的发布版本,以及最新版本的 Crashlytics :)
回答by Pranshu
Go to Build settings and choose Dwarf with dSym File option for both debug and release builds.
转到构建设置并为调试和发布构建选择 Dwarf with dSym File 选项。
回答by Aditya
You haven't uploaded dsym ..You can get dsym file from:
您还没有上传 dsym ..您可以从以下位置获取 dsym 文件:
Goto https://itunesconnect.apple.com> SignUp> MyApps> Activity> Then select the version of App for which the Missing dsym error is showing and download the dsym file from there...
转到https://itunesconnect.apple.com> 注册 > 我的应用程序 > 活动 > 然后选择显示缺少 dsym 错误的应用程序版本并从那里下载 dsym 文件...
upload it to fabric
将其上传到面料
Hope so your issue is resolved..
希望你的问题得到解决..