剥离调试符号 Xcode 构建设置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7488941/
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
Strip Debug Symbols Xcode build settings
提问by the Reverend
I see that there are several options for stripping debug symbols -Deployment Postprocessing -Strip Debug Symbols During Copy -Strip Linked Product
我看到有几个选项可用于剥离调试符号 -Deployment Postprocessing -Strip Debug Symbols during Copy -Strip Linked Product
I want to strip the debug symbols for my release, but not for my beta and debug versions, can someone help me understanding this options? Thanks.
我想删除我的版本的调试符号,但不是我的测试版和调试版本,有人可以帮助我理解这个选项吗?谢谢。
回答by rishabh
In XCode4, choose your target and go to the "Build Settings" tab. There you can look out for "Strip debug symbols". Notice a small dropdown arrow on the left side, and upon expanding you can choose the what all configuration you want to specify. On clicking the "+" button next to each configuration, you can also specify various arch+OS settings to further expand your list. Hope this helps!
在 XCode4 中,选择您的目标并转到“构建设置”选项卡。在那里您可以查看“条带调试符号”。请注意左侧的小下拉箭头,展开后您可以选择要指定的所有配置。单击每个配置旁边的“+”按钮,您还可以指定各种 arch+OS 设置以进一步扩展您的列表。希望这可以帮助!