Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Is Xcode DerivedData Safe to Delete? What Happens and How to Clean It

Yes—Xcode's DerivedData folder is safe to delete. Xcode automatically regenerates everything inside it the next time you open and build a project. The only trade-off is that your next build and index for each project will start from scratch and take longer. On one developer Mac we measured, ~/Library/Developer/Xcode/DerivedData occupied 15.3 GB (and adjacent Xcode storage was even larger: 24.1 GB…

Xcode's DerivedData folder can be safely deleted without affecting your source code or Git history. Deleting it will cause Xcode to regenerate all contents the next time you open and build a project, which may take longer due to the initial regeneration. The amount of space consumed by DerivedData varies depending on the number of projects and iOS SDKs you work with.

For example, on one developer's Mac, DerivedData occupied 15.3 GB, while Xcode storage for iOS DeviceSupport and CoreSimulator/Devices was 24.1 GB and 43.0 GB, respectively.

When deleting DerivedData, always quit Xcode first to avoid build issues or stale editor warnings. You can remove DerivedData manually via Finder or Terminal, or use a third-party tool like CleanBit, which provides options to clean Xcode storage selectively. CleanBit separates Xcode folders based on their risk level, such as rebuildable DerivedData, older DeviceSupport versions, SwiftUI Preview data, and caches from shut-down Simulator devices.

It is recommended to clear DerivedData once every few weeks or whenever you finish a major project, upgrade Xcode, or encounter build glitches.

Deleting DerivedData does not break Swift Package Manager dependencies, as the package list is defined in Package.swift or the .xcodeproj file, and Xcode will automatically re-resolve and rebuild packages when you open the project again. However, if you use AI coding agents or JavaScript toolchains, there might be additional storage that needs cleaning, as outlined in separate guides.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at dev.to →

Report a problem with this story

More in Tech

Writing a Prompt That Holds a First-Person Camera Steady for 30 Seconds

Most AI video prompts describe a scene. A POV prompt has to describe a camera — and that is a harder problem than it looks. The usual failure mode is not a bad scene. It is drift.

  • Camera behavior specified as strict invariants to prevent drift
  • Prompt includes role, setting, lighting, and anchor frames
  • Starts with three still frames meeting deny-list criteria

MiniMax H3-Image: Native 4K at 16.8MP in Six Steps - Three ComfyUI Workflows Compared

MiniMax H3-Image: native 4K at 16.8 megapixels in six sampling steps (three ComfyUI workflows) MiniMax's H3-Image is unusual for one reason: it does not upscale its way to a big picture.

  • MiniMax H3-Image generates 4K resolution images (16.8MP) directly.
  • Three ComfyUI workflows compared for different purposes.
  • JSON files available on RunningHub for testing.

How to Find and Delete Old node_modules Folders on a Mac

Yes—you can safely delete node_modules folders in inactive projects on macOS. Every package inside node_modules can be reinstalled later with npm install , yarn , pnpm install , or bun install as long…

  • Use "find" command to list largest nodemodules directories
  • Identify safe projects with nodemodules untouched in 60 days
  • Use "rm -rf" to move folders to Trash, not delete permanently

Running a Community Native PC Port of The Last of Us Remastered on Windows

I spent an evening getting a community-built native PC port of The Last of Us Remastered running on Windows 11, and almost all of the friction came from desktop hygiene rather than the game: an…

  • Windows 10 or 11 with admin privileges required
  • 7-Zip, VC++ 2015–2022 x64, updated GPU driver needed
  • Extract archive, monitor for build issues, run via batch file

*/5 in crontab: cron every 5 minutes

*/5 in a crontab means every five minutes. The full line is */5 * * * * . It runs at minute 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 of every hour — locked to the clock, not to the minute you…

  • The /5 notation in crontab executes a task every five minutes.
  • The complete cron line is /5 .
  • Manually copy the expression into the crontab on the scheduled machine.

More from Saturday 21 November →