My computer recently keeps running out of space whenever I'm using Xcode with the simulator. I kept thinking it was the swap space so I eventually bit the bullet and cleared 100GB on my computer, only to have it entirely filled up again.
Some research found that the file /Users/itai/Library/Developer/CoreSimulator/Devices/{some random ID}/data/Containers/Bundle/Application/{some random ID}/{MySwiftAppName}.app
weighed 100GB!!
Clicking show package contents revealed a folder inside called "System" that had literally the entire iOS system in there (Podcasts app, mail app, etc. etc.) and running ls -la
in terminal did not reveal it to be a link to another folder
Any ideas why this happened and how to keep it from happening again? And whether this system folder really is okay to delete it or if I am slowly going to find out that I need to re-install Xcode with new simulators?