Vaseltior
Vaseltior

Reputation: 1236

How do I remove an obsolete bot in xcode

After updating XCode Server I get the following message :

"this bot is not supported in this version of xcode"

I can't find any way to delete these old bots. Does anyone know how I can do such a thing? Here is a screenshot of the available actions.

Example of allowed actions

Upvotes: 2

Views: 1161

Answers (4)

Xavier Lowmiller
Xavier Lowmiller

Reputation: 1391

If you're stuck trying to delete whole servers, this is possible in Preferences -> Accounts:

enter image description here

Upvotes: 4

Julio Bailon
Julio Bailon

Reputation: 3823

There is a property list that stores all the bots configuration at:

~/Library/Developer/XCode/UserData/ServerBots.plist

You can just remove the ones that are obsolete from there and restart XCode.

If you want to remove all of the items just replace the contents of your file by this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array/>
</plist>

Upvotes: 2

Vaseltior
Vaseltior

Reputation: 1236

All is needed is to download the XCode version the bots were created with and use this version to delete the old bots.

Upvotes: 0

Rammohan Akula
Rammohan Akula

Reputation: 31

I had the same issue, I just recreated bots with the same name again and the error went away.

Upvotes: 0

Related Questions