Xcode 4“干净"与“清理构建文件夹" [英] Xcode 4 "Clean" vs. "Clean Build Folder"

查看:32
本文介绍了Xcode 4“干净"与“清理构建文件夹"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在每个应用程序的开发过程中,您都会发现您在模拟器中看到的内容与您认为应该发生的情况不符.大多数情况下,这些是人为错误——或者至少在大多数我的情况下是这样的;-)——但有时 Xcode 只是迷失了方向",或者看起来如此.我了解到 Clean (Shift+Cmd+K) 和 Clean Build Folder… (Option+Shift+Command+K) 菜单选项可以显示您的错误或 Xcode 的.

You come at a certain point in the development of every app that what you see in the simulator does not match what you think should happen. Mostly these are human errors -- or at least they are in most of my cases ;-) -- but sometimes Xcode has just 'lost track', or so it seems. I've learnt that the Clean (Shift+Cmd+K) and Clean Build Folder… (Option+Shift+Command+K) menu options can show the difference between your error or Xcode's.

我的问题是:

Clean 命令做了什么或不做什么,这给 Clean Build Folder... 留下了存在的理由?我什么时候应该选择一个,为什么不总是清理整个文件夹?

What does the Clean command do or not do, which leaves a reason for Clean Build Folder… to exist? When should I pick one over the other, why not just always clean the whole folder?

推荐答案

Clean... 清除当前选定目标的文件夹.
Clean Build Folder... 清除所有目标的文件夹.

Clean… cleans the folders for the current selected target.
Clean Build Folder… cleans the folders for all the targets.

这篇关于Xcode 4“干净"与“清理构建文件夹"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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