What it is
Cloned Swift package repositories shared by your Xcode and SwiftPM projects.
Can you delete it?
Yes, it is rebuilt automatically. Packages are fetched again on the next resolve. The first build after cleaning takes longer.
How to clean it safely
- Quit Xcode.
- See the size: du -sh ~/Library/Caches/org.swift.swiftpm
- Delete the folder's contents; Xcode resolves packages again on open.
How big is it on your Mac?
This read-only command prints its size and changes nothing:
Terminal
du -sh ~/"Library/Caches/org.swift.swiftpm" 2>/dev/nullStep-by-step guide: Clean up Xcode →
Related folders
- Simulator caches ·
~/Library/Developer/CoreSimulator/Caches - CocoaPods cache ·
~/Library/Caches/CocoaPods - CocoaPods download cache ·
~/Library/Caches/CocoaPods/Pods - Carthage cache ·
~/Library/Caches/org.carthage.CarthageKit - Xcode cache ·
~/Library/Caches/com.apple.dt.Xcode - Tuist cache ·
~/.cache/tuist
Questions
Is it safe to delete ~/Library/Caches/org.swift.swiftpm?
Yes, it is rebuilt automatically. Packages are fetched again on the next resolve. The first build after cleaning takes longer.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac