stop indexing for XCode.
・turn off indexing
defaults write com.apple.dt.XCode IDEIndexDisable 1
・turn on indexing
defaults write com.apple.dt.XCode IDEIndexDisable 0
stop indexing for XCode.
・turn off indexing
defaults write com.apple.dt.XCode IDEIndexDisable 1
・turn on indexing
defaults write com.apple.dt.XCode IDEIndexDisable 0