How to disable Xcode Server?

Under Preferences > Server and Bots, I turned it to On because I was curious.


Realizing it's not something I care about, I turned it off.


Problem is, now I always see the Xcode Server (Hammer) icon in my main toolbar.


How do I stop this from running?

I went in and tweaked the /Library/LaunchDaemons launchd scripts for:

com.apple.xcsd.plist, com.apple.xcsd.worker.plist, com.apple.xcsnginx.plist, and com.apple.xcsredis.plist.

Setting their KeepAlive to false kept the background process from continually thrashing to start up.


I was unable to get the Hammer to disappear. That must be someother process.

It looks like the file 'com.apple.xcsbuilder.plist' in ~/Library/LaunchAgents/ is responsible. You can remove the file or change the two properties ('RunAtLoad' and 'KeepAlive') to 'false'. Then logout or reboot.


Warning: Total newbie, here. Proceed at your own risk. ;-)

I solved it by going into Activity Monitor and killing the Xcode Server process. The hammer disappeared.

  1. Open Xcode App

  2. Go to preferences - Server & Bots

On the left side you will see "Users can access bots on this server at "User Computer (Mac)"
On the right side you will see a button -
3. Turn the button off
When you turn the button off you will see a warning:
"Could not read service permissions: Unable to perform request. CFNetwork error: Could not connect to the server. (-1004 - KCFURLErrorCannotConnectoToHost)"
4. Hit OK twice.
The hammer will be gone and then on the left side you will have "Turn on to provide continuous integration for your team"

Hope that helps.




How to disable Xcode Server?
 
 
Q