Xcode 4:删除Build Settings中的项目 [英] Xcode 4: deleting items in Build Settings

查看:850
本文介绍了Xcode 4:删除Build Settings中的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在XCode 4.0中,有一个新设计的Build Settings页面。我的问题是,一旦我指定它,我就看不到如何删除设置。

In XCode 4.0 there's a newly designed Build Settings page. My problem is that I can't see how to remove a setting once I've specified it.

示例:我已将版本控制系统更改为Apple Generic 在目标水平。之后我意识到我应该在项目级别设置它,所以我想删除目标级别设置。但是,我无法看到删除设置 - 您单击它并且有两个选项,这两个选项都不是默认的未指定空设置。点击键盘上的删除键没有。

Example: I've changed "Versioning System" to "Apple Generic" at the target level. Afterwards I realised I should set it at the project level, and so I want to delete the target level setting. However, there's no way I can see to remove the setting -- you click on it and there's two options, neither of which is the default "not specified" empty setting. Hitting the delete key on the keyboard nothing.

对于接受文本的字段也一样 - 如果我尝试通过删除所有文本集删除设置,它仍然显示该字段为绿色,但没有文本,并将其视为设置的存在。

The same goes for fields that accept text -- if I try to delete a setting by just deleting all the text set, it still shows that field in green, but with no text in it, and regards it as the presence of a setting.

推荐答案

删除但是你必须注意在编辑区左侧选择正确的项目。

Delete works but you have to take care to have the proper item selected on the left hand side of the editor area.

如果要将目标设置默认为项目或Mac Os Default值,您首先需要选择编辑器区域左侧的目标,转到构建设置,您将能够使用删除键删除目标设置。您将无法从此处删除项目设置。

If you want to default a target setting to the project or "Mac Os Default" value, you first need to select the target on the left hand side of the editor area, go to build settings and you will be able to remove the target setting using the delete key. You will not be able to remove project settings from here though.

如果要将项目设置默认为Mac Os Default值,首先需要选择编辑区左侧的项目,转到构建设置,然后您就可以使用删除键删除项目设置。

If you want to default a project setting to the "Mac Os Default" value, you first need to select the project on the left hand side of the editor area, go to build settings and only then you will be able to erase the setting of the project using the delete key.

我不确定这是否是XCode的错误。事实是,当您查看目标的设置并且您点击删除时,Xcode无法知道您是否要删除项目或目标设置,因为无法选择列,而只能选择行......它只删除一个目标似乎是合乎逻辑的。所以这可能是正常行为。

I'm not sure if that is a bug of XCode or not. The truth is that when you are looking to the settings of a target and you hit delete, Xcode has no way to know if you want to delete a project or a target setting, because there is not way to select a column, but only rows... and it seems logical that it deletes only a target one. So it is probably the normal behavior.

这篇关于Xcode 4:删除Build Settings中的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆