Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Cupertino desk3 min

Free Up Space on Your Mac: A Developer’s Cache and Log Cleanup Guide

Start with macOS Storage settings, then clean only identifiable, replaceable data. Learn when Xcode DerivedData may be removed and why broad cache or log deletion is risky.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To free up space on your Mac, first check what macOS says is using storage, then remove files you can identify and replace—not folders simply because their names include “cache” or “log.” Built-in Storage recommendations and project-specific Xcode DerivedData cleanup are safer starting points than deleting broad Library or System Data folders.

Check what is using storage before deleting anything

On macOS Ventura 13 or later, open Apple menu > System Settings > General > Storage. On earlier macOS versions, use Apple menu > About This Mac > Storage. Review the categories and recommendations, and note the available space before you make changes. Apple’s storage guide describes these steps.

As an Amazon Associate I earn from qualifying purchases.

System Data is a broad category for Apple and third-party files that do not fit a more specific category. It is not a single cache folder or a reliable instruction to delete a particular directory. Use the category as a clue to investigate, not as a cleanup target in itself.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Try macOS’s built-in cleanup first

Review the recommendations in Storage settings and remove files you recognize, such as unneeded downloads or large personal files. Moving an item to Trash does not free its space until you empty the Trash, so check its contents before emptying it.

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Apple says macOS clears caches and logs it considers safe when space is needed. As Apple Support puts it in “Optimise storage space on your Mac”: “When space is needed on your Mac, macOS also clears caches and logs that are safe to delete, including temporary database files, interrupted downloads, staged macOS and app updates, Safari website data and more.” That system-managed cleanup is a sensible first step; it does not mean every file called a cache or log is safe to remove manually.

Can I delete Xcode DerivedData?

Removing project build data can be a reasonable troubleshooting or space-saving step when you have identified the relevant Xcode data and can tolerate a rebuild. Apple’s Xcode 26 release notes name ~/Library/Developer/Xcode/DerivedData in specific build-workaround steps. This is an example tied to those steps, not a blanket guarantee about every generated file in the folder.

Rank #2
Sale
WD 2TB Elements Portable External Hard Drive for Windows, USB 3.2 Gen 1/USB 3.0 for PC & Mac, Plug and Play Ready - WDBU6Y0020BBK-WESN
  • High capacity in a small enclosure – The small, lightweight design offers up to 6TB* capacity, making WD Elements portable hard drives the ideal companion for consumers on the go.
  • Plug-and-play expandability
  • Vast capacities up to 6TB[1] to store your photos, videos, music, important documents and more
  • SuperSpeed USB 3.2 Gen 1 (5Gbps)
  1. Identify the intended cleanup. If you are addressing a particular project or build issue, confirm which project’s generated data you intend to remove rather than deleting the whole Developer directory.
  2. Remove only the identified DerivedData. Use the path above as the location Apple names; avoid treating everything under ~/Library/Developer as disposable.
  3. Allow for a rebuild. Xcode may regenerate build data, and a later build can take longer while that data is recreated.

Is it safe to delete Mac caches?

Sometimes—but the name alone is not enough to tell. Apple’s guidance is that caches should hold data an app can function without or regenerate. The file-system guidance and Caches directory documentation make that distinction important: discardable cache data is not the same as files an app needs to operate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not delete an unfamiliar folder just because it is inside a Library directory or contains the word “cache.” In particular, Application Support stores app support data and should not be treated as a disposable cache. If you cannot establish what a folder contains and whether its app can recreate it, leave it alone.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Should you manually delete logs?

Avoid recursively deleting log folders. macOS removes logs it considers safe when it needs room, but that does not establish that every user or system log is safe to remove manually. If a specific app is producing unusually large logs, use that app’s documented controls or support guidance rather than deleting broad system folders.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose the cleanup that matches the problem

Option What it does Trade-off
macOS Storage recommendations Helps review storage categories and system-managed suggestions. Low effort; the broad categories do not identify every file to remove.
Project-specific Xcode DerivedData cleanup Can remove build data associated with a targeted Xcode cleanup. Build data may need to be regenerated, and a subsequent build can take longer.
Move suitable files to external storage Moves large files off the Mac’s internal storage. Requires external storage and does not clean caches.

An external drive is optional if large archives or other files are the actual storage problem. It is a way to relocate files, not a prerequisite for cache cleanup. Apple discusses moving files as a way to free space in its storage recommendations.

Quick Recap

SaleBestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
SaleBestseller No. 2
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Rank #4
WD 5TB My Passport Ultra for Mac Silver, Portable External Hard Drive, backup software with defense against ransomware, and password protection, USB-C and USB 3.1 - WDBPMV0050BSL-WESN
  • USB-C and USB 3.1 compatible.Specific uses: Business, personal
  • Innovative style with refined metal cover
  • Password protection with 256-bit AES hardware encryption
  • Formatted for Mac

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.