Xcode 符号文件位置 [英] Xcode symbol file location

查看:113
本文介绍了Xcode 符号文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 是输出一个符号文件还是可以生成一个符号文件?我们正在以我们自己的格式从设备中捕获我们自己的崩溃报告,并希望对它们进行符号化,以便我们可以比等待 Apple 提供崩溃报告更快地周转.

Does Xcode output a symbol file or is it possible to produce one? We're capturing our own crash reports from devices in our own format and would like to symbolise them so we can have a faster turnaround than waiting for Apple to make crash reports available.

推荐答案

确保您的应用程序是在启用调试标志的情况下构建的.

Ensure that your application is built with debug flags enabled.

该文件应位于您的库文件夹中:

The file should be in your library folder:

~/Library/Developer/Xcode/DerivedData//Build/Products/Debug-iphoneos

在此文件夹内,将有一个 .dSYM 包文件夹,其中包含 Contents/Resources/ 中的符号文件.

Inside this folder, there will be a .dSYM bundle folder which contains the symbol file further inside Contents/Resources/.

您还可以通过在二进制文件/库上运行 dsymutil 来生成 .dSYM 捆绑文件.

You can also generate a .dSYM bundle file by running dsymutil on a binary/library.

这篇关于Xcode 符号文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆