> 使用`Xcode`打开一些体积较大的工程时,会一直停留或卡在`indexing`阶段,在终端使用下面的命令禁用`index`(索引服务)。 - turn off Indexing 禁用index(索引服务)功能 ``` bash sudo defaults write com.apple.dt.XCode IDEIndexDisable 1 ``` - turn Indexing on 开启index(索引服务)功能 ``` bash sudo defaults write com.apple.dt.XCode IDEIndexDisable 0 ```