如何在 Xcode 4.3.1 中删除用户定义的构建设置 [英] How to delete user-defined build settings in Xcode 4.3.1

查看:148
本文介绍了如何在 Xcode 4.3.1 中删除用户定义的构建设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Xcode 4.3.1 中创建了几个用户定义的构建设置.我不再需要这些设置,想删除它们,但似乎没有办法删除它们!

I have created several user-defined build settings in Xcode 4.3.1. I no longer need these settings and want to delete them, but there doesn't seem to be a way to delete them!

我知道这些存储在位于 xcodeproj 文件中的项目设置 (project.pbxproj) 文件中.但我不想在文本编辑器中编辑这些,因为有各种我不理解的重复和指导.

I am aware that these are stored in the project settings (project.pbxproj) file located within the xcodeproj file. But I don't want to edit these in a text editor as there are all sorts of repetitions and guids which I don't understand.

关于如何在 Xcode 中执行此操作的任何建议?(或者他们忘记添加删除"按钮)

Any suggestions on how I can do this within Xcode? (or have they forgotten to add a "delete" button)

推荐答案

我自己刚刚发现:你需要确保你在正确的范围内才能删除设置.如果您在项目范围内定义了设置,那么在查看目标范围时,再多的敲击也不会将其删除.请记住,目标从项目范围继承设置.最后一点是我绊倒的:)

Just figured this out myself: you need to make sure you're at the right scope to be able to delete the setting. If you defined the setting at the project scope, no amount of key-bashing will remove it if you're looking at the target-scope. Remember, targets inherit settings from project scope. That last bit is what I tripped over :)

这篇关于如何在 Xcode 4.3.1 中删除用户定义的构建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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