ios – 清除和删除DerivedData文件夹之间的区别

前端之家收集整理的这篇文章主要介绍了ios – 清除和删除DerivedData文件夹之间的区别前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
这两个行动之间的实际差异是什么?

我问,因为我发现清洁(Cmd-Shift-K)是一个缓慢的,耗时的过程,并且更快地删除整个DerivedData文件夹.

更多信息

1)我已将DerivedData文件夹设置在XCode首选项中我的项目文件夹的相对文件夹中.

2)我通常只处理一个目标的项目.我很少需要处理2个或更多目标.

解决方法

这可以在User Your Loaf的文章 Xcode 4 DerivedData and Cleaning the Build Directory中解释.

In Xcode 4 the Product > Clean menu option cleans up the build directory for all targets by deleting the app and dSYM files along with the precompiled headers.

另一方面,DerivedData包含其他内容

Each workspace gets a unique set of symbol indexes,build products,window layouts,etc.,otherwise referred to by Xcode as derived data.

因此,如果您想真正清理所有内容,答案是在按住Option键的同时选择Product菜单,使用新的Xcode 4 Clean Build Folder操作.这也将删除DerivedData内容

猜你在找的Xcode相关文章