Xcode 12 can't resolve private SPM packages

Trying to build a project in Xcode that has some SPM packages that are private under my personal GitHub. Originally my GitHub account was not configured with Xcode 12, but after adding the account and multiple "Clean Build" and "Reset Package Caches". Xcode is still is not able to resolve the packages.
Answered by tim1 in 613348022
Turns out the access token was not configured for private repos
Accepted Answer
Turns out the access token was not configured for private repos
Hi @tim1,

Glad to hear that you were able to figure out the issue on your own. Please mark this post as resolved when you have some time. =)


Having the same problem now with Xcode 13. The github access token has all privileges and although I even add the ssh://git@github… address, Xcode 13 seems to try to check it out via HTTP. Yet, in the github account settings I also have [SSH] selected.

Xcode 12 can't resolve private SPM packages
 
 
Q