Terminal command for XCode->File->Packages->Reset Package Cache

I am using XCode 13.1 and wondering a way to execute XCode->File->Packages->Reset Package Cache on terminal. I see my CI machine is failing every time not for specific package but some random package. And when manually do XCode->File->Packages->Reset Package Cache, it resolves the package graph properly. I already tried clearing DerivedData and also clearing /Users/bostonsamddv/Library/Caches/org.swift.swiftpm with no luck :(

Any help will be appreciated.

Post not yet marked as solved Up vote post of AmiBSC Down vote post of AmiBSC
1.3k views

Replies

@AmiBSC did you find a solution?