I actually figured it out finally. The IDEIndexDisable
boolean was missing from com.apple.dt.XCode
completely. Naturally the value couldn't be set from the command line with the value missing. I added the value manually by editing the plist file and adding the IDEIndexDisable
boolean and setting it to yes
. Finally, no more indexing!
EDIT: In order to edit the plist file --
Open the plist file in Xcode - its located at ~/Library/Preferences/com.apple.dt.Xcode.plist
Find the IDEIndexDisable boolean and change it to yes
In my case the boolean was actually missing and I had to add it.