Alright, so, I cleaned up my disk. Finder shows 63 GB free. "Storage" tab in "About This Mac" shows the same...
However, using QuickLook on my disk (one and only disk I got with computer) shows 17 GB free only?!?
df -halso shows really strange output:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s1 113Gi 97Gi 13Gi 89% 1427126 9223372036853348681 0% / devfs 332Ki 332Ki 0Bi 100% 1150 0 100% /dev /dev/disk1s4 113Gi 2.0Gi 13Gi 14% 2 9223372036854775805 0% /private/var/vm map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home
I am not using and never used Time Machine backups on this computer, there are no "purple bands" in "Storage" window, I tried to reindex the volume (by adding and removing a folder in Spotlight settings), my trash is completely empty, I tried to reboot couple of times...
Why is this happening??
Free space on disk, and available space on a working partition/Volume via the Finder are not the same thing.
Assuming your macOS is modern, your single 'disk'/SSD has more than one partition/Volume.
You should only be concerned with what the Finder says on your boot partition. Don't be chasing ghosts, otherwise.
Did you manually download and install Xcode 10.1.xip from here, yet?
KMT - This post came up in a Google search for the problem. Thank you very much for the solution. Deja Vu - a year later. I look forward to reading this again in 2020. PBK.
Ok, I think there is a different problem here actually... Just ran disk check earlier and this is the result:
Running First Aid on “OS X” (disk1s1)
NOTE: First Aid will temporarily lock the startup volume.
Verifying file system.
Volume could not be unmounted.
Using live mode.
Performing fsck_apfs -n -l -x /dev/rdisk1s1
Checking the container superblock.
Checking the EFI jumpstart record.
Checking the space manager.
Checking the space manager free queue trees.
Checking the object map.
Checking the APFS volume superblock.
The volume OS X was formatted by hfs_convert (748.21.6) and last modified by apfs_kext (945.220.38).
Checking the object map.
Checking the snapshot metadata tree.
Checking the snapshot metadata.
Checking snapshot 1 of 5.
error: btn: invalid btn_btree.bt_key_count (expected 10560295, actual 10560995)
Snapshot is invalid.
The volume /dev/rdisk1s1 could not be verified completely.
File system check exit code is 0.
Restoring the original state found as mounted.
Tried the same in "Safe Mode" but it didn't seem to repair anything... Still trying some options around...
Not sure either mode will work with DFA in that example. DFA needs to unmount the target drive and the boot drive can't be unmounted, so at this point, there is no conclusion about an actionable issue w/that drive until you can achieve an unmount.
You need to boot from the Recovery partition and try to run DU from there, instead.
It's good you're checking things, but free space is still the straw that stirs the drink, so...
I had the same problem on Mojave, and CCC actually gave me the correct hint. The AFPS volume had snapshots of about 38 GB. That prevented the installation of XCode....
This command solved the problem:
tmutil thinlocalsnapshots / 21474836480 4
A good resource which explains most of the issues I found here:
I'm having the same problem though i have 17 GB free space. Looks like xcode needs more free space.
17 GB free is not nearly enough.
- The OS needs 8~12 GB free just run, at least
- The download is about 5 GB
- You need around 7 GB or more to put the unpacked files during the install
- You need around 7 GB or more for the installed files
- all at the same time...that's around 30 GB. Minimum.
Even with 50 GB free (don't forget to empty the trash), you're working yourself into a corner fast. Sounds like it's time for you to buy a bigger boot drive. Figure out how much you need, then double it, then double it again.
Hi, I am having the same issue. I recently upgraded to MacOS Mojave from MacOS Sierra and the Xcode application stopped launching upong upgradation. I therefore removed it using 'sudo rm -r /Applications/Xcode.app'. However when I am trying to reinstall it, it is showing not enough disk space error even though I have 30GB of disk space available.
Were you able to solve your issue after you cleaned up your disk to increase the disk space?
Same here - I have 250GB free space
EDIT: solved it by removing a lot of purged disk space via daisydisk.
This morning my MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports) with 250GB ssd and 103GB free space running the latest MacOS Mojave 10.14.6 prompted me that there was not enough space available to upgrade Xcode to the lateast v.11...
Same issue here. Deleted Xcode and installed it. That worked.
I also have the same problem. I enrol Apple Beta program and start downloading of Mac OS Catalina. And after that xcode start to downloading from AppStore. (P.S i don't install new MacOS itself)
It strange, but it works!
Hi, i had the same problem. I restarted my computer and that worked
The same thing happens to me and I can't solve it, I tried to create an app for my website https://espias.eu/camaras-espias/, but when I try to install XCode I get the same problem.
I would appreciate the answers.
i had the same issue. But i did install xcode 11.3 successfully by following this
Step 1 - Logout from your App store accound
Step 2 - Restart your MAC
Step 3 - Sign in back to your App store and then download xcode.