gpt4 book ai didi

objective-c - Xcode 4 "Clean"与 "Clean Build Folder"

转载 作者:IT老高 更新时间:2023-10-28 11:24:19 30 4
gpt4 key购买 nike

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

我的问题是:

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?

最佳答案

如果您从 Product 菜单中选择 Clean,XCode 将删除 Build 文件夹中每个文件夹内的文件,如果您选择 Clean Build Folder,它将删除整个构建文件夹。

清理命令后:

enter image description hereClean Build Folder 命令后:

enter image description here

我认为,当您想要构建要发布到 AppStore 的二进制文件时,当您搞砸了您的项目或您的应用程序无法运行时,您应该选择 Clean Build Folder “未知”原因,否则使用 Clean

希望我已经回答了你的问题:D

关于objective-c - Xcode 4 "Clean"与 "Clean Build Folder",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8087065/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com