workspace一直indexing...

自己写了一个Demo合集, 大概有十来个project, 用了十多个Pod资源而已... Xcode突然抽风一直Indexing 搞得整个电脑卡得动不了... 占时也不知道是什么情况,目前是使用关闭indexing功能来用

关闭indexing后速度是快了非常多, 但是代码也没有了索引有点不方便

下面是开关indexing 的方法:

//打开
defaults write com.apple.dt.XCode IDEIndexDisable 0
//关闭
defaults write com.apple.dt.XCode IDEIndexDisable 1

你可能感兴趣的:(workspace一直indexing...)