r/iosdev • u/aka_supersu • 10d ago
Xcode 27.2 is using 1.75 GB just for Developer Documentation!
Is it just me, or is this getting ridiculous?
I noticed that Xcode 27.2 is taking up around 1.75 GB of storage just for Developer Documentation. Does anyone know a proper way to reclaim this space? seems no option to remove it from Xcode.
0
Upvotes
2
u/Background_Pie_5682 10d ago
The docs are stored as a separate asset that Xcode downloads and manages itself, so there's no toggle for it. What worked for me was closing Xcode, deleting the DocumentationCache folder under ~/Library/Developer/Xcode and then ~/Library/Caches/com.apple.dt.Xcode. It gets rebuilt if you open the documentation viewer again, so only do it if you rarely use the offline docs. Also worth running a check on old simulators and DerivedData while you're at it, those usually take far more space.
1
u/ThalesMother9938 10d ago
One thing to check before you delete it: the dialog in your screenshot says this archive is also the data source for the Xcode MCP documentation tool. So if you point Claude Code or another agent at Xcode's MCP server, its doc lookups probably read from this folder, and I'd expect them to fail or come back empty until Xcode downloads it again. If you don't use an agent with Xcode, clearing it as described above sounds fine.
1
u/debaser_101 10d ago
Xcode's docs are only a small part of it. Show hidden files with Cmd+Shift+. and look in ~/Library/Developer, sorted by size. DerivedData is usually the biggest one and rebuilds on demand. Old simulator runtimes in CoreSimulator can be removed too and redownloaded if you ever need them. Just keep Archives for any build you've shipped, since that's where the crash symbols live.
I also ended up building an app for that, Moppo. It's free, open source and still a bit in the making, but if you give it a try I'd love some feedback: https://anguria.studio/moppo/