While I do need to get another HD, I currently have 34.85 GB (12.61 GB purgeable) available.
Yet for some reason when I try to run update on Xcode, it says I don't have enough HD space. That's three times the final size of the new Xcode.
Is there some way around this?
I currently have 34.85 GB (12.61 GB purgeable) available.
That's three times the final size of the new Xcode.
Not sure how have you checked the final size of the new Xcode, but 34.85 GB is not enough.
Extracting .xip consumes 30 GB or more disk space and you need to keep the original xip file (about 13 GB, 13.1) while extracting, so, 45 GB or more is needed.
The first thing you can try is increasing the free space, safely by:
- Open (Xcode menu) Window > Devices and Simulators > Simulators, and remove unused simulator instances
- Open Apple menu > About This Mac > Storage > Manage... > Developer, and remove Xcode Caches and Device Supports
You can find some unsafe ways to remove files used by Xcode on the web.
Is there some way around this?
If you have an external hard drive with enough space (50 GB or more, excluding purgeable), download Xcode.xip into the drive and expand it there, and move the expanded Xcode.app into the Application folder of your startup disk.