3 ms·
Slight tangent: why do you need to delete Xcode so often? (I don't really develop on Mac, mostly on Linux.)
by eru 4y ago
Slight tangent: why do you need to delete Xcode so often? (I don't really develop on Mac, mostly on Linux.)
- oefrha 4y agoThey develop https://github.com/saagarjha/unxip https://github.com/saagarjha/unxip, “a fast Xcode unarchiver”. Very few people should routinely delete Xcode.
- eru 4y agoThanks!
- LeoPanthera 4y agoNot OP, but disk space maybe? It's pretty big. $ du -Ash Xcode.app 22G Xcode.app
- saagarjha 4y agoXcode is compressed on disk by default; you should generally use du -sh when measuring its size.
- guessmyname 4y ago> Not OP, but disk space maybe? It's pretty big. > $ du -Ash Xcode.app > 22G Xcode.app My installation of Xcode only takes up 3.6G and is still fully operational. As a developer of both desktop and mobile apps, I discovered some time ago that I could delete most, if not all, of the Xcode simulators that I don’t use without affecting the functionality of the IDE. The software is smart enough to download additional assets when you attempt to launch one of the simulators. I believe that, by default, Xcode comes with simulators for the latest versions of iOS, iPad OS, Watch OS, and Apple TV, sometimes including two or three versions for each platform. I think this is the reason why your installation weights 22G.
- saagarjha 4y ago3.6 GB is pretty small. What did you remove from your installation?
- blowski 4y agoNot the OP’s reason it seems, but I have to delete Xcode quite more frequently than you’d think because it gets into a weird state during updates. This seems to happen once or twice every year.
- mort96 4y agoI had to delete xcode because an update through the app store just didn't work. It had been in an "updating" state for over a week, I had given the machine full working days worth of continuous on-time, and eventually I tried to cancel the update which also didn't work. The only recourse was to `sudo rm -rf /Applications/Xcode.app`. Not the reason OP is deleting Xcode, but you'd be surprised at how buggy a lot of stuff involving Xcode can be.
- oefrha 4y agoApp Store Xcode updates always take forever for god knows why. It’s almost as if there’s some nonlinear behavior in softwareupdated and co. that’s hit by Xcode with its gazillion little files. Therefore I update Xcode by downloading the .xip from developer.apple.com/downloads.
- saagarjha 4y agoI haven't looked into this closely but I think it first tries to validate the bundle and then decompresses to disk very slowly