How to enable indexing in Xcode?

后端 未结 2 1009
盖世英雄少女心
盖世英雄少女心 2020-11-29 19:24

I disabled indexing to get speed back, it worked! Now I upgraded my RAM from 4gb to 8gb and would like to give it a try again.

I used this code in terminal the 1st t

相关标签:
2条回答
  • 2020-11-29 19:58

    Defaults are a name-value store per domain. The setting's domain here is com.apple.dt.XCode. The setting's name is IDEIndexDisable. You set this to 1. To undo this, you need to remove the setting, not add another one with a different name.

    Based on the command you entered the first time, use this:

    defaults delete com.apple.dt.Xcode IDEIndexDisable
    

    While you're at it, you should delete the key you added as well:

    defaults delete com.apple.dt.Xcode IDEIndexEnable
    
    0 讨论(0)
  • 2020-11-29 20:17

    Instead of deleting the written setting, just toggling its value worked for me. Enter the following in a terminal window:

    defaults write com.apple.dt.XCode IDEIndexDisable 0
    
    0 讨论(0)
提交回复
热议问题