Xcode 13.3 SwiftPM.SPMRepositoryError error 5

I downloaded Xcode 13.3 today. When I build my project, this error shows.

When I open Xcode 13.2.1, all works fine. Does anyone know what the error is about?

Have the same issue... Any suggestions how to fix that?

You need to generate a new key since the one Xcode auto-generates is not supported...

ssh-keygen -t ecdsa -C "our_email" pbcopy < ~/.ssh/id_ecdsa.pub Go to https://github.com/settings/ssh/new, paste the key and save. Go to Xcode -> Preferences -> Sign into the github account if not already. Select SSH for "Clone using" For SSH Key select id_ecdsa.

The same issue.

What an awful, awful experience. My package dependencies were fine a few days ago, and will I fired it up today I encountered this error 5. Just lost about two hours trying to figure it out. Thanks for the solution @kironet.

I'm going to bill Apple for my lost two hours. How pointless.

Unfortunately, I was already using an ECSDA key. So that fix does help. I tried switching to an ED25519 key. Same problem.

Anyone else having the problem despite having already applied the fix suggested above?

I'm also having these issues and unfortunately kironet's fix has not worked. Has anybody found any other workarounds?

All you need to do is right click 'package dependencies' in project navigation and then 'Reset Package Caches'. This usually happens if you use a third party app to clear out Xcode caches

Xcode 13.3 SwiftPM.SPMRepositoryError error 5
 
 
Q