Menu

What fills up a developer's Mac, and what is safe to clear?
πŸ“°

What fills up a developer's Mac, and what is safe to clear?

DEV Community: productivityΒ·John SheehyΒ·4 days ago
#nPYzvdAd
#devtoproductivity#devto#dev#build#cache
Reading 0:00
15s threshold

A developer's Mac fills up differently from anyone else's. Photos and downloads are rarely the problem; build systems are. Every tool you use keeps its own cache, every project keeps its own dependencies, and almost none of them ever clean up after themselves.

The good news is that nearly all of it regenerates. The useful question is not "what can I delete" but "what does deleting it cost me" β€” a slower next build, a re-download, or something that does not come back.

Xcode and the simulators

Usually the largest single block of space on an Apple developer's Mac.

What it is Clearing it costs

DerivedData Build output and indexes, one folder per project A full rebuild and re-index β€” how to clear it

iOS Device Support Symbol files copied from each device you have plugged in A few minutes the next time that device connects

SwiftUI Previews Simulators created for Xcode's canvas Previews rebuild themselves

Simulator runtimes One per iOS or watchOS version you have downloaded Several gigabytes to download…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.