简体   繁体   English

如何在Xcode中删除过时的机器人

[英]How do I remove an obsolete bot in xcode

After updating XCode Server I get the following message : 更新XCode Server之后,我得到以下消息:

"this bot is not supported in this version of xcode" “此版本的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 : 如果您在尝试删除整个服务器时遇到困难,可以在Preferences -> Accounts

在此处输入图片说明

There is a property list that stores all the bots configuration at: 有一个属性列表,用于存储所有漫游器配置:

~/Library/Developer/XCode/UserData/ServerBots.plist 〜/资源库/开发/的XCode /的UserData / ServerBots.plist

You can just remove the ones that are obsolete from there and restart XCode. 您可以从那里删除过时的文件,然后重新启动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版本,并使用该版本删除旧的机器人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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