26

I have this little hammer up next to volume, power, time, etc. How do I make it go away? The options menu is grayed-out. No menu item to shut it down that I can find.

5 Answers5

30

Open the Activity Monitor app and kill Xcode Server Builder app from the list.

Activity Monitor Screenshot

hkulekci
  • 401
7

Just had this problem, I ran the following command in the terminal to fixed it

kill $(ps aux | grep 'Xcode' | awk '{print $2}')

which kills all processes with Xcode in their name.

Commmand from: https://agilewarrior.wordpress.com/2012/06/28/how-to-kill-xcode-from-the-command-line/

2

i was killing the process but it was restarting automatically after it, so I opened xcode > preferences > Server and Bots and switched to off:

server and bots preferences

juhlila
  • 141
2

You can use Activity Monitor app, and then select Quit to kill the process

In case that the XCode Server Builder" is the restarting each time that you try to kill it, it's probably because you have the xcscontrol process

To kill this process, you can just shutdown the daemon with this code:

sudo /Library/Developer/XcodeServer/CurrentXcodeSymlink/Contents/Developer/usr/bin/xcscontrol --shutdown

For future versions, and in case that the path change, you can check the right path with this line in terminal:

ps aux | grep xcscontrol
1

You can use Activity Monitor app to visualize all your running processes, the select the "Xcode Server" one, and click on the cross icon on the top left. That will kill the process.

Ben G
  • 111