[英]“Strip Debug Symbols During Copy” and “Strip Linked Product” difference on xCode
What is a difference between “Strip Debug Symbols During Copy” and “Strip Linked Product” options? “复制期间剥离调试符号”和“剥离链接产品”选项有什么区别?
What does it mean if “Strip Debug Symbols During Copy” = YES and “Strip Linked Product” = NO?如果“复制期间剥离调试符号”= YES 和“剥离链接产品”= NO,这意味着什么?
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.