Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. 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.

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.

Keychain password request for xcsd

like image 599
MatzeLoCal Avatar asked Oct 18 '17 08:10

MatzeLoCal


3 Answers

Only working solution for me:

  • Backup the folder /Library/Developer/XcodeServer/
  • Remove it
  • Activate Xcode Server

Keep in mind that the new Xcode server doesn't have hosted repositories anymore, so if used them, they are in the HostedRepositories folder. You have to move them to a different service (eg. github).

like image 133
Davide Avatar answered Nov 08 '22 06:11

Davide


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!!

like image 6
h.w.powers Avatar answered Nov 08 '22 06:11

h.w.powers


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.

like image 1
Tony.Y Avatar answered Nov 08 '22 05:11

Tony.Y