Xcode Cloud resolve packages crash

It's my first time I am configuring the Xcode cloud to build my project.

Here is the crash and stack trace

One thing I noticed when I setup Xcode Cloud - it asked me to grant access to every public github library I have as dependency, I can't do that, as I am not owner or member of those libraries (firebase, swift algorithms, etc) when I tapped "Continue" there was an alert saying if I continue without granting access CI might not be able to fetch dependencies

Answered by ostafi1010 in 884678022

The problem was that Package.resolved inside the xcode project had a dependency that was long time removed from my SwiftPM dependencies, after manually cleaning the orphan dependency in the Package.resolved, build works

Accepted Answer

The problem was that Package.resolved inside the xcode project had a dependency that was long time removed from my SwiftPM dependencies, after manually cleaning the orphan dependency in the Package.resolved, build works

Xcode Cloud resolve packages crash
 
 
Q