如何清理 Xcode 5 中的构建文件夹?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19146340/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 04:57:08  来源:igfitidea点击:

How to clean build folder in Xcode 5?

xcodebuild

提问by Van Du Tran

It seems that the shortcut to "Clean Build Folder" in Xcode 5 has disappeared! Command+Option+Shift+K doesn't work anymore. Anyone got the new shortcut?

Xcode 5 中“清理构建文件夹”的快捷方式似乎已经消失了!Command+Option+Shift+K 不再起作用。有人有新的快捷方式吗?

回答by Van Du Tran

As of Xcode 7, this feature is back. Press Command+Option+Shift+K.

从 Xcode 7 开始,此功能又回来了。按Command+ Option+ Shift+ K

Or from the menu -> Product, press Option on your keyboard and you'll see Clean Build Folder...

或者从菜单 -> Product,按键盘上的 Option ,您将看到Clean Build Folder...

回答by Jerry Frost

XCode -> Product -> Clean

XCode -> 产品 -> 清洁

With the shortcut Shift-Cmd-K (no option key).

使用快捷键 Shift-Cmd-K(无选项键)。

回答by Michael Dautermann

It's what you set it to via the "Key Bindings" section in your Xcode preferences.

这是您通过 Xcode 首选项中的“键绑定”部分设置的。

enter image description here

在此处输入图片说明

For me, it's shift-command-K.

对我来说,它是 shift-command-K。