# iOS工程编译速度优化 要提升编译速度,我们首先要知道有没有提升?那就需要一个量化的标准。下面的命令让 Xcode 告诉你编译耗费多久时间。 ```shell defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES ``` ## ccache 提高编译速度需要依靠缓存的能力, [ccache](https://ccache.dev) 是一个靠谱的缓存。基于编译器层面。