LoginSignup
2
2

More than 1 year has passed since last update.

Xcode13.3でSwiftPM.SPMRepositoryError error 5

Last updated at Posted at 2022-03-23

Xcode13.3でSwiftPMがうまく動かない

image.png

Developer Forumsで同じ現象に陥っている人もいる模様
Xcode 13.3 SwiftPM.SPMRepositoryEr… | Apple Developer Forums
swift - What is "SwiftPM.SPMRepositoryError error 5"? - Stack Overflow

ECDSA鍵を生成・登録

参考: ECDSA鍵をGitHubで使う - Qiita

①鍵を生成

ssh-keygen -t ecdsa -b 256 -C <gitに登録しているメールアドレス>

②公開鍵の中身をGitHubの設定のSSH keysに登録
https://github.com/settings/ssh

参考: GitHubでssh接続する手順~公開鍵・秘密鍵の生成から~ - Qiita

Xcodeのアカウント設定でSSH Keyを更新

  1. [Xcode] > [Preferences (環境設定)] を選択します。
  2. ウィンドウの上部にある[アカウント(Accounts)]
    image.png
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2