mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-25 12:27:15 +00:00
docs: 批量博文
This commit is contained in:
11
Chapter1 - iOS/1.67.md
Normal file
11
Chapter1 - iOS/1.67.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# iOS工程编译速度优化
|
||||
|
||||
要提升编译速度,我们首先要知道有没有提升?那就需要一个量化的标准。下面的命令让 Xcode 告诉你编译耗费多久时间。
|
||||
|
||||
```shell
|
||||
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
|
||||
```
|
||||
|
||||
## ccache
|
||||
|
||||
提高编译速度需要依靠缓存的能力, [ccache](https://ccache.dev) 是一个靠谱的缓存。基于编译器层面。
|
||||
Reference in New Issue
Block a user