简体   繁体   English

Xcode 9 启用服务器失败,因为“xcsd”钥匙串密码

[英]Xcode 9 enable Server fails because "xcsd" keychain password

I currently try to setup an Xcode Server with Xcode 9 but I stuck with this Keychain Password request.我目前尝试使用 Xcode 9 设置 Xcode 服务器,但我坚持使用此钥匙串密码请求。 I guess it has something to do with the previous Xcode/OS X Server Installation as there Xcode Server was part of OS X Server.我想这与以前的 Xcode/OS X Server 安装有关,因为 Xcode Server 是 OS X Server 的一部分。

But how do I get rid of this?但我该如何摆脱这个?

EDIT: As it came up in the comments: Neither the password of a the system/admin-user nor the one of the dedicated account for the Xcode Server is accepted.编辑:正如评论中提到的那样:系统/管理员用户的密码和 Xcode 服务器的专用帐户都不被接受。

xcsd 的钥匙串密码请求

Only working solution for me: 只为我工作的解决方案:

  • Backup the folder /Library/Developer/XcodeServer/ 备份文件夹/ Library / Developer / XcodeServer /
  • Remove it 去掉它
  • Activate Xcode Server 激活Xcode服务器

Keep in mind that the new Xcode server doesn't have hosted repositories anymore, so if used them, they are in the HostedRepositories folder. 请记住,新的Xcode服务器不再具有托管存储库,因此如果使用它们,它们将位于HostedRepositories文件夹中。 You have to move them to a different service (eg. github). 您必须将它们移动到不同的服务(例如github)。

I tried all of the above... however the only thing that worked for me was resetting the entire server with this command. 我尝试了以上所有...但是对我来说唯一有用的是用这个命令重置整个服务器。 Open terminal and try: 打开终端并尝试:

sudo /Applications/Xcode.app/Contents/Developer/usr/bin/xcscontrol --reset

This command saved me from giving up!! 这个命令让我免于放弃!!

I had the same problem, and after a few hours of try and error. 我有同样的问题,经过几个小时的尝试和错误。 I think I kind of got the solution... I went to keychain access, and selected the xcsd keychain, then went to menu - edit - delete keychain 'xcsd', then after restart the issue of asking for that mystery password was fixed. 我想我得到了解决方案......我去了钥匙串访问,并选择了xcsd钥匙串,然后进入菜单 - 编辑 - 删除钥匙串'xcsd',然后重新启动后,询问该神秘密码的问题是否已修复。

I deleted "xcsd.crt", "xcsd.key", "xcsnginx.crt", "xcsnginx.key" and "xcsnginx.pass" from: /Library/Developer/XcodeServer/Certificates我从:/Library/Developer/XcodeServer/Certificates 中删除了“xcsd.crt”、“xcsd.key”、“xcsnginx.crt”、“xcsnginx.key”和“xcsnginx.pass”

and "xcsd.keychain" and "xcsnginx.keychain" from: /Library/Developer/XcodeServer/Keychains和“xcsd.keychain”和“xcsnginx.keychain”来自:/Library/Developer/XcodeServer/Keychains

And then was able to start the Xcode server.然后能够启动 Xcode 服务器。 (It might very well be the case, that the xcsd.xxx files would have been enough, but I can not try it out now that the error is gone) (很可能是这样,xcsd.xxx 文件就足够了,但是现在错误消失了,我无法尝试)

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

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