简体   繁体   English

Crashlytics IOS中缺少dSYM

[英]Missing dSYMs in Crashlytics IOS

Hello I have been digging to find the solution but unfortunately I have not been able to find an answer. 您好,我一直在努力寻找解决方案,但不幸的是,我未能找到答案。 My issue is that I have my application that uses crashlytics. 我的问题是我的应用程序使用了crashlytics。 When pulling my crashlytics I see the Dsyms missing issue, i tried to add all the missing ones through the organizer but unfortunately i am not able to find all of them. 拉动我的crashlytics时,我看到了Dsyms缺少的问题,我试图通过组织者添加所有缺少的问题,但是不幸的是,我找不到所有这些。 please note my applications are not in the app store and I do not have itunes connect I am using an enterprise account. 请注意,我的应用程序不在应用商店中,并且我没有iTunes连接,我正在使用企业帐户。 I noticed when running my application through the simulator and forcing a crash, Fabric will ask me for a new dSYM that I am not able to find. 我注意到通过模拟器运行应用程序并导致崩溃时,Fabric会要求我提供我找不到的新dSYM。 where can i find this dsym? 我在哪里可以找到这个dsym? I have verified through my build settings that I have dWARRF with dSYM enabled on both debug and release. 我已经通过构建设置验证了在调试和发行版中都启用了dSYM的dWARRF。 If you have any ideas please let me know. 如果您有任何想法,请告诉我。 Thank you!! 谢谢!!

You can do the following (it works for me): 您可以执行以下操作(对我有用):

  • Archive a binary of your target. 归档目标的二进制文件。 Select your Scheme and make sure you have "Generic iOS Device": selected. 选择您的方案,并确保已选择“通用iOS设备”: Then in the Xcode menu, go to Window->Organizer and you will see your build 然后在Xcode菜单中,转到Window-> Organizer,您将看到自己的构建
  • Select the build. 选择构建。 Check the date/time and version(build) numbers to ensure it is the one you want. 检查日期/时间和版本号(版本)以确保它是您想要的。 Right-Click and select "Show in Finder" 右键单击并选择“在Finder中显示”
  • Right-click in the .xcarchive file and select "Show Package Contents" 右键单击.xcarchive文件,然后选择“显示软件包内容”
  • Look for the dSYMs directory. 查找dSYMs目录。 Right-click and compress. 右键单击并压缩。
  • Move the dSYMs.zip file to your Desktop for easy uploading to Crashlytics. 将dSYMs.zip文件移动到桌面上,以便轻松上传到Crashlytics。

If you're using Xcode 10 on a new project, Xcode 10 adopts a new build ordering that is independent of the ordered list in the Build Phases of Xcode. 如果在新项目上使用Xcode 10,则Xcode 10将采用新的构建顺序,该顺序与Xcode的“构建阶段”中的已排序列表无关。

Put "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)" into your Fabric Run Script's “Input Files” section to ensure your installation of Fabric goes smoothly. “ $(BUILT_PRODUCTS_DIR)/ $(INFOPLIST_PATH)”放入Fabric运行脚本的“输入文件”部分,以确保Fabric的安装顺利进行。

Reference to Crashlytics documentation . 参考Crashlytics文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM