简体   繁体   English

xCode 上的“复制期间剥离调试符号”和“剥离链接产品”的区别

[英]“Strip Debug Symbols During Copy” and “Strip Linked Product” difference on xCode

  1. What is a difference between “Strip Debug Symbols During Copy” and “Strip Linked Product” options? “复制期间剥离调试符号”和“剥离链接产品”选项有什么区别?

  2. What does it mean if “Strip Debug Symbols During Copy” = YES and “Strip Linked Product” = NO?如果“复制期间剥离调试符号”= YES 和“剥离链接产品”= NO,这意味着什么?

  3. Is it possible to upload an application to the App Store with symbolicated data on the separate.dsym file (not on the binary)?是否可以使用 separate.dsym 文件(不是二进制文件)上的符号化数据将应用程序上传到 App Store?

from apple documentation:来自苹果文档:

Strip Debug Symbols During Copy在复制过程中去除调试符号

Description: Boolean value.说明:Boolean 值。 Specifies whether copied binaries are stripped of debugging symbols.指定复制的二进制文件是否去除调试符号。

Values:
YES: Copied binaries are stripped of debugging symbols. This does not cause the binary produced by the linker to be stripped. Use "Strip Linked Product" to have the linker strip the binary.
NO: Copied binaries are not stripped of debugging symbols
Default value: NO

Strip Linked Product剥离关联产品

Description: Boolean value.说明:Boolean 值。 Specifies whether to strip symbol information from the binary.指定是否从二进制文件中去除符号信息。

Values:
YES: Strips the generated binary when the prerequisite is met.
NO: Does not strip the generated binary.
Default value: NO

https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html

On the latest version of xCode on the new project the default options works well. 在新项目的最新版本的xCode上,默认选项效果很好。 So, it's not required to change them any more. 因此,不再需要更改它们。

暂无
暂无

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

相关问题 复制期间包含应用程序符号和剥离调试符号之间的区别? - Difference between include app symbols and strip debug symbols during copy? 我应该在Google Analytics中使用“复制时剥离调试符号”和“剥离链接产品”吗? - Should I use 'Strip Debug Symbols During Copy' and 'Strip Linked Produts' with Google Analytics? 将“复制期间的条调试符号”设置为“否”后,经常会出现内存警告 - Often memory warning after setting “Strip Debug Symbols During Copy” to NO 如何避免“跳过复制阶段条带”警告(因为“二进制是代码签名的”)而不将“复制期间的条带调试符号”设置为“否”? - How to avoid “skipping copy phase strip” warning (because “binary is code signed”) without setting ”strip debug symbols during copy" to NO? Xcode 存档调试条错误 - Xcode Archive debug strip errors 存档时,应用程序会获得“体系结构armv7的未定义符号”,除非我没有在库中剥离链接的产品 - App gets “Undefined symbols for architecture armv7” when archiving, unless I don't Strip Linked Product in a library 对于发行版,iOS中正确的“ Strip Debug Symbols”设置是什么? - What is the proper “Strip Debug Symbols” settings in iOS for release versions? 剥离iPhone应用程序的符号 - Strip symbols for iPhone application 在Xcode 4.5中保留未剥离的二进制文件的同时剥离符号 - Strip symbols while retaining unstripped binary in xcode 4.5 Xcode中的“剥离Swift符号”实际上做了什么? - What does “strip Swift symbols” in Xcode actually do?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM