Home > Mobile >  How to resolve this error in Xcode? "Error while fetching remote repository/The source control
How to resolve this error in Xcode? "Error while fetching remote repository/The source control

Time:12-16

I have an Xcode project using Swift Packages. When I try to build my app, I get this error:

Error while fetching remote repository
The source control operation was cancelled

I tried cleaning and building again, it didn't work.

CodePudding user response:

  • Right click on "Package Dependencies" in the project navigator:

screenshot of Package Dependencies

  • Click on Resolve Package Versions:

screenshot of Resolve Package Versions

  • Related