Clean Up Old Xcode Archives Automatically
What’s the best type of cleaning? Cleaning that happens automatically!
About every 6 months or so, I notice that the free space on my Mac’s hard drive is surprisingly low. Have I really been writing that much code?! Even though I use App Center to do all my production, App Store builds, one of the biggest space hogs for a mobile developer are old Xcode archives.
Found a good guide for how to create and edit the job, here
Here’s the script: