If xcode-build is slowing down your compiling process of your theos project, just switch to the normal command line tools
This will stop xcode from slowing down and it should be fast again
Code:
sudo xcode-select --switch /Library/Developer/CommandLineTools
This will stop xcode from slowing down and it should be fast again