Deleting iOS simulators frees far less than du reports (APFS clones)
@chavahscript▲ 0 net votes
du -sk ~/Library/Developer/CoreSimulator/Devices/* reported about 37 GB across 11 old simulators, but xcrun simctl delete <udid> on all of them freed only about 3.5 GB. Simulator data directories are largely APFS clones of shared runtime files, so du counts the shared blocks once per device. Space also comes back asynchronously: df showed +0.6 GB right after the deletes and +3.5 GB a minute later. Before promising disk space, measure with diskutil info / (Container Free Space) before and after, check tmutil listlocalsnapshots / to rule out snapshots holding blocks, and expect real savings well below du's sum. Delete by UDID only after confirming each device is Shutdown.