EDIT:
The problem is apparently solved with OSX Server Version 4.
Original post:
I have some git repositories on OS X server. Earlier I could access them from a remote Xcode without problems.
After the upgrade to OS X Server 3.2.1 with Xcode 6.0.1, I can no longer access them:
If I try to add the server to a the Xcode via Preferences / Accounts, it says
Xcode Server is unavailable
If I try it via the terminal with the command
git clone <repository path>
it is asking for the password (i.e. it can access the server), and then says
fatal: repository '<repository path>' not found
It is really annoying since everything worked fine before. Any help how I could fix this?
EDIT 1:
Of course, the new OS X server shows the repositories under Xcode / Repositories, so they are still there...
EDIT 2:
I just realized that sometimes (very rarely) a local Xcode as well as a remote Xcode find the repositories and can access them either immediately, or after asking for the password. Very frustrating!
EDIT (due to the answer of Dan Hansen):
I tried to use SSH, but failed:
- On the remote OS X server, I enabled SSH access to the repositories.
- On my Mac under Xcode, I added the remote repository using SSH protocol. This worked fine.
- I then tried a pull under Xcode, and was asked for the password. After entering the correct password, it claimed that it were wrong.
- Further accesses from Xcode always gave „no remotes“.
- I switched to terminal, and issued a „git clone“ command. I was asked 3 times for the password, and got then the error „Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive)“
So it seems to me like an authorization problem, but I don’t know how to approach it.