I am facing this problem again and again. Anybody can give the solution to this problem except reboot the Mac?
I have already tried these tricks
Enable/change location in the xcode console. It worked for me.