5

I could push & pull this repository without any problems on Xcode 6.X, but it doesn’t work on Xcode 7.

The setting is the same as Xcode 6.X. I tried to enter Username and Passphrase just for confirmation, but seems like no meaning. I used the right SSH Keys as Authentication, but the preferences say “The remote repository could not be found.”

enter image description here

Checking out a new repository, that have been never used on Xcode 6.X ,also had the same issue on Xcode 7.0 and higher.

enter image description here

I’d like to know if anyone has any solutions for this problem.

cafedeichi
  • 745
  • 1
  • 10
  • 25

2 Answers2

0

"could not be found" is also the error message you see when you access a repo you don't own (instead of a "permission denied")

For security reason, one does not confirm or deny the existence of a repo, one simply state "it cannot find it".

So make sure the repo exists, that your are the owner and that your public key is registered to your account.

Since that issue seems limited to XCode7, it was reported before, and could be linked to a cipher issue (XCode7 refusing to establish a connection with an sshd working with a cipher too weak)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

I have an easy solution if your remote is set and suddenly when you can't pull because of "no remote repository found" message. Go to terminal. Open your project folder. do

git pull origin v6.2

If you have commits that were not made, you might have to:

git reset --hard
git commit -m "Commit Message"

After you pull it one, you will be able to pull more with no problem from Xcode.

coolcool1994
  • 3,704
  • 4
  • 39
  • 43