My ~/Library/Developer/CoreSimulator/Devices
folder is 26 Gb
in size.
Is it safe to just delete all the content? Will those files be automatically regenerated?
Deleting them is harmless as you can always download them again later. Just remember that if you have any old simulators in there (iOS 8.0-) you won't be able to download them again through Xcode. UPDATE! You can now manage Xcode devices on the latest macOS through the storage manager.
CORE (Common Open Research Emulator) is a tool for building virtual networks. As an emulator, CORE builds a representation of a real computer network that runs in real time, as opposed to simulation, where abstract models are used.
Try to run xcrun simctl delete unavailable
in your terminal.
Original answer: Xcode - free to clear devices folder?
That directory is part of your user data and you can delete any user data without affecting Xcode seriously. You can delete the whole CoreSimulator/ directory. Xcode will recreate fresh instances there for you when you do your next simulator run. If you can afford losing any previous simulator data of your apps this is the easy way to get space.
Update: A related useful app is "DevCleaner for Xcode" https://apps.apple.com/app/devcleaner-for-xcode/id1388020431
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With