I'm working on a project and I'm using Swift package manager to manage dependencies. I had just updated my Xcode to 12.5 and I had deleted the derived data, because I thought it would resolve a problem I was having (none of the errors showing up on the Issue navigator, but would show up in the Report navigator). Anyways, that is not the main issue.

After I deleted my derived data, the package should have re-fetched. However, that is not happening. I tried resetting the package cache and restarting my macbook. This has been going on for two hours with me looking up similar questions on stack overflow, but I coudn't find any solution. Any help would be godsend.
Edit: Cloned the project in another directory to see if it would resolve the issue. No luck.
For anyone stuck in fetching <package> you might just needed to manually delete the cached files present in ~/Library/Caches/org.swift.swiftpm/
Thanks to https://stackoverflow.com/a/67323117/3970488
Deleting cache only didn't work for me.
I had to;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With