简体   繁体   中英

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.

允许动作的例子

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

在此处输入图片说明

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>

我遇到了同样的问题,只是重新创建了一个同名的机器人,错误消失了。

所需要做的只是下载创建机器人的XCode版本,并使用该版本删除旧的机器人。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM