什么是 xcode 中的调试符号

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28941656/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:47:28  来源:igfitidea点击:

What are debug symbols in xcode

iosxcode

提问by KishoreThindaak

what is a debug symbol? and what is the usage?

什么是调试符号?用途是什么?

Will be able to submit an app with debug symbols to appstore?

可以将带有调试符号的应用程序提交到应用商店吗?

Please help!

请帮忙!

Thanks in Advance.

提前致谢。

回答by Boris Charpentier

dSym are generated when you archived your project.

dSym 在您归档项目时生成。

You don't have to do anything for that.

你不必为此做任何事情。

It allows you to symbolicate your crash log, else it's just meaningless memory adress.

它允许你象征你的崩溃日志,否则它只是无意义的内存地址。

It's kind of a link between the builded code and the source code.

它是构建代码和源代码之间的一种链接。

回答by Sjoerd222888

Debug Symbols are additional information about your source code that are used to help debugging. See also this wikipedia article about debug symbols. They will not be submitted to the appstore as they are only part of debug-build while you only submit a release-build to the appstore. Though there are some symbols that will be committed for crash logs, see this question.

调试符号是有关源代码的附加信息,用于帮助调试。另请参阅这篇关于调试符号的维基百科文章。它们不会提交到应用商店,因为它们只是调试构建的一部分,而您只向应用商店提交发布构建。虽然有一些符号会被提交用于崩溃日志,但请参阅此问题