Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve this error in Xcode? "Error while fetching remote repository/The source control operation was cancelled"

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.

like image 788
Tamás Sengel Avatar asked Sep 03 '25 17:09

Tamás Sengel


1 Answers

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

screenshot of Package Dependencies

  • Click on Resolve Package Versions:

screenshot of Resolve Package Versions

like image 125
Tamás Sengel Avatar answered Sep 05 '25 08:09

Tamás Sengel