Xcode 6 Git No Remotes Available

I have been connecting to my remote repo through Xcode for some time without any problems. Suddenly today, Xcode (v6.1, which I have had since its release) tells me to enter a password to connect to the remote repo. My repo is connected via ssh, so do I even need a username and password? When I try to pull / click Xcode, it says "No Remotes Available", but I can successfully push / click through the command line. I've already seen

Gitlab - Xcode Cannot Connect to Remote Repository

Xcode 4.4 - no deleted files found

But none of the answers seem to help me.

+7
git ssh xcode
source share
4 answers

I have no idea what happened, but I needed to go to Xcode> Preferences> Accounts and delete the repository that he listed there.

+2
source share

I had the same problem. It turns out that all I had to do was enter the "Configure [Project Name]", which is located here:

Menu uou need

As soon as I entered the URL here, then I was fine.

+7
source share

I had a similar problem several times when the problem was that the repository address was wrong. In some cases, the difference was just a dash in the name, i.e.

https: // name@bitbucket.org /teamname/reponame.git
against
https: // name@bitbucket.org /teamname/repo-name.git

I donโ€™t know how the dash disappeared, or if at some point there was a requirement for a dash, but the result was โ€œNo remotes availableโ€.

To fix the problem, I just needed to remove the remote access in Xcode in the "Source Control / working copies / settings" section, then re-add it with the corresponding address, and also delete and re-add the repository in the "Settings / Accounts" section. Once the address was correct for both of them, everything worked correctly again.

0
source share

Resolution Steps

I have a "No Remotes Available" solution using these steps ...

0
source share

All Articles