AAmpleCapacity

Apple developer

Swift package cache

Downloaded Swift package dependencies that Xcode keeps so it doesn't fetch them again on every build.

Label in AmpleCapacity
Safe
Comes back on its own
Yes
Made by
Xcode
Plan that clears it
Developer plan

Where it is

~ means your home folder.

Does it come back?

Yes. Xcode re-fetches your packages the next time it resolves dependencies.

What changes for you if it goes

Your next package resolution takes longer. Nothing else changes.

How to remove it yourself

  1. Quit Xcode first.
  2. In Finder, choose Go > Go to Folder, or press Shift-Command-G. Type the location and press Return.
  3. Go to ~/Library/Caches/org.swift.swiftpm. Move everything inside it to the Trash.
  4. Empty the Trash. Until you do, the files still take up space. Emptying the Trash cannot be undone.

How AmpleCapacity handles it

AmpleCapacity moves it to its recovery vault instead of deleting it. You can put it back for seven days. The space comes back when those seven days end, or sooner if you empty the vault yourself.

It is labelled Safe, so the app puts it in your review for you. Nothing moves until you confirm.

It will not move it while Xcode is open.

Scanning is free. Moving it to the vault needs the Developer plan.

See what is on your Mac

The scan is free and changes nothing. It shows every item it finds, what made it, and what happens if it goes. You pay once, only if you want AmpleCapacity to clear it.

More in Apple developer