将构建设置重置为 Xcode 中的默认设置?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1379943/
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
Reset build settings to default in Xcode?
提问by Rahul Vyas
How do I reset build settings to default in Xcode?
如何在 Xcode 中将构建设置重置为默认值?
回答by Tim Sylvester
To reset a single project setting so that it's no longer bold, select the option in the project settings and hit the delete key.
要重置单个项目设置使其不再是粗体,请在项目设置中选择该选项并按删除键。
回答by ThomasW
Sometimes, especially with multi-line items, hitting delete or cmd-delete does not work. For those items I just resort to setting the first line to $(inherited)
. This means the item is still bold, but it will otherwise have the correct value.
有时,尤其是对于多行项目,按删除或 cmd-delete 不起作用。对于那些项目,我只是将第一行设置为$(inherited)
. 这意味着该项目仍然是粗体,但否则它将具有正确的值。
回答by Lawrence Kesteloot
Hitting Delete didn't work for me, but that's because I was looking at the settings from the point of view of the target, when the setting was set for the project. Switching to the project view worked -- hitting Delete removed my setting and reverted back to the default (non-bold) value.
点击删除对我不起作用,但那是因为当为项目设置设置时,我是从目标的角度查看设置的。切换到项目视图有效——点击删除删除了我的设置并恢复到默认(非粗体)值。
回答by yoAlex5
When a target's setting is changed Xcode boldit. Also you can find all changed settings in Customized
tab. Moreover you can check who exactly influences on the value using Levels
tab.
当目标的设置更改时,Xcode 将其加粗。您还可以在Customized
选项卡中找到所有更改的设置。此外,您可以使用Levels
选项卡检查谁对值的确切影响。
To reset(unbold) a value just selectand press deletekey
要重置(取消加粗)值,只需选择并按下delete键