This is the shared cache for Swift packages: repositories and manifests that Xcode and swift build download for your projects. It’s safe to clear. Packages are fetched again the next time a project resolves them.
Location: ~/Library/Caches/org.swift.swiftpm
What’s inside
- Cloned package repositories
- Package manifests and collections
The SwiftPM way
swift package purge-cacheIn Xcode, File › Packages › Reset Package Caches does the same for one project.

Find every folder like this on your Mac
Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.
Frequently asked questions
Can I delete Caches/org.swift.swiftpm?
Safe: Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made. This is the shared cache for Swift packages: repositories and manifests that Xcode and swift build download for your projects. It’s safe to clear. Packages are fetched again the next time a project resolves them.
Where is Caches/org.swift.swiftpm on my Mac?
~/Library/Caches/org.swift.swiftpm. In Finder choose Go › Go to Folder and paste the path.
How big does Caches/org.swift.swiftpm get?
Usually 200 MB – 8 GB.