Xcode 符号文件位置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12294801/
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
Xcode symbol file location
提问by moinudin
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.
Xcode 是输出一个符号文件还是可以生成一个符号文件?我们正在以我们自己的格式从设备捕获我们自己的崩溃报告,并希望对它们进行符号化,以便我们可以比等待 Apple 提供崩溃报告更快地周转。
回答by Nandeep Mali
Ensure that your application is built with debug flags enabled.
确保您的应用程序是在启用调试标志的情况下构建的。
The file should be in your library folder:
该文件应位于您的库文件夹中:
~/Library/Developer/Xcode/DerivedData/<weird-app-identifier>/Build/Products/Debug-iphoneos
~/Library/Developer/Xcode/DerivedData/<weird-app-identifier>/Build/Products/Debug-iphoneos
Inside this folder, there will be a .dSYM bundle folder which contains the symbol file further inside Contents/Resources/
.
在此文件夹中,将有一个 .dSYM 包文件夹,其中包含进一步位于 .dSYM 中的符号文件Contents/Resources/
。
You can also generate a .dSYM bundle file by running dsymutil
on a binary/library.
您还可以通过dsymutil
在二进制文件/库上运行来生成 .dSYM 捆绑文件。