AvdLee / RocketSimApp

Enhancing the iOS simulator for productivity
566 stars 20 forks source link

Clear SPM Cache #500

Open blastum opened 2 months ago

blastum commented 2 months ago

Is your feature request related to a problem? Please describe. "Hear me out, bro..." But seriously, debugging Swift Package problems can be a pain. A shortcut to clear out the SPM cache would be occasionally useful, in the same way as is deleting Derived Data.

Describe the solution you'd like trash ~/Library/Cachesorg.swift.swiftpm

Describe alternatives you've considered I do it manually as needed

Additional context Have a nice day

AvdLee commented 2 months ago

I did not know that existed! I'll definitely consider adding that, however, I've never had a situation where I needed this. Can you explain when you're using this and why File -> SPM -> Reset Package Caches for your project doesn't work?