Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

macOS Xcode CoreSimulator folder very big. Is it ok to delete content?

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?

like image 686
Franck Avatar asked Oct 29 '15 16:10

Franck


People also ask

Can I delete devices folder in Xcode?

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.

What is core simulator Mac?

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.


2 Answers

Try to run xcrun simctl delete unavailable in your terminal.

Original answer: Xcode - free to clear devices folder?

like image 123
Petr Syrov Avatar answered Dec 04 '22 03:12

Petr Syrov


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

like image 29
MacMark Avatar answered Dec 04 '22 02:12

MacMark