justin the answer is good if you really need to create one or more separate goals. And I searched, but found that you can enable / disable indexing. In any case, I cannot exclude any file when indexing. And you do not allow the Xcode index, you lose some function, such as autocomplete (even for images you can see the autocompletion of the image name in InterfaceBuilder).
If you are really sure you want to disable indexing. Use this in terminal:
defaults write com.apple.dt.XCode IDEIndexDisable 1
If you want to index back:
defaults delete com.apple.dt.XCode IDEIndexEnable defaults write com.apple.dt.XCode IDEIndexDisable 1
Another related article on How to Speed Up Xcode by Solving Xcode Slow Issues with xcode 4.x
sunkehappy
source share