xcodebuild ssh permission denied

Viewed 26

I generated an ssh-key and succeeded in authentication.

ssh -T {git address}

However I get permission denied error when cloning via xcodebuild.

  • I just don't get it because sometimes it works and sometimes it doesn't.
  • It also worked a couple of times when I deleted relevant credentials in the keychain access.
  • I created a couple of repositories and tried this in several branches. Could this be a problem?
xcodebuild -clonedSourcePackagesDirPath .swiftpmCache

enter image description here

0 Answers
Related