My Mac is running out of disk. I searched for large files and directories and found the directory /Applications/Xcode.app/Contents/Developer/Platforms
takes about 20GB of my disk.
ls -l
total 0
drwxr-xr-x 10 root wheel 320 Dec 18 14:37 AppleTVOS.platform
drwxr-xr-x 7 root wheel 224 Dec 18 15:10 AppleTVSimulator.platform
drwxr-xr-x 8 root wheel 256 Dec 18 14:44 MacOSX.platform
drwxr-xr-x 10 root wheel 320 Dec 18 15:10 WatchOS.platform
drwxr-xr-x 7 root wheel 224 Dec 18 15:10 WatchSimulator.platform
drwxr-xr-x 10 root wheel 320 Dec 18 15:10 iPhoneOS.platform
drwxr-xr-x 8 root wheel 256 Dec 18 15:10 iPhoneSimulator.platform
I looked at the names of the folders, which are seemingly simulator, aka virtual machine, for different Apple operating systems.
I am a stranger in Apple os development and share no interest in it. I only write c, java, python, html and all that with my Mac. Can I delete these unnecessary files? Or should I keep the MacOSX.platform at least?