Failed to update xcode even though I've 200gb left of storage
Hi,
I'm unable to update to xcode 13.2.1. I received the following error prompt:
Looking further into `var/log/install.log`, I see that it failed because of insufficient space available.
```
2022-03-03 08:34:33+08 MyMBP installd[836]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=107 "There is not enough space available on “Macintosh HD” to install the software. An additional 32.37 GB is required." UserInfo={NSLocalizedDescription=There is not enough space available on “Macintosh HD” to install the software. An additional 32.37 GB is required., NSURLVolumeURLKey=file:///} {
NSLocalizedDescription = "There is not enough space available on \U201cMacintosh HD\U201d to install the software. An additional 32.37 GB is required.";
NSURLVolumeURLKey = "file:///";
}
```
This is strange because under about this mac, it shows about 200gb available.
Another strange thing is before I updated to macOS Monterey 12.2.1, my available disk space was only 20gb. After the update, I suddenly have 200GB available. Thats puzzling.
So I opened up Disk Utility, and I saw this:
So the actual available space left is 64GB? Previously xcode only requires 40GB to install.
I'm using a mbp 13 inch retina early 2015
Does anyone know about this or experienced this before?
MacBook Pro Retina