Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Prevent backing up large Xcode files

I'm primarily an iOS developer. Every day that I develop, Mac Time Machine backs up a gigabyte or more of data. I'm trying to reduce that as much as possible. No data involving the simulators seems important enough to backup. If I ever need to restore Xcode, I'd reinstall rather than restore from Time Machine. But I'd want to back up code snippets, etc.

What are the best practices to prevent large amounts of Xcode or simulator data from being backed up?

If you don't want to backup the simulators, then setup Time Machine to exclude ~/Library/Developer/CoreSimulator

If you don't want to backup the derived data used during builds, then exclude ~/Library/Developer/Xcode/DerivedData

Prevent backing up large Xcode files
 
 
Q