After more experimenting this morning, I've discovered that I run into the same issue even with a public repo hosted on gitlab.com
I created a very basic project with a single dependency, and can reproduce the exact same issue with a publicly available package.
I am running Xcode version 14.0.1
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: