MacBook Pro El Capitan (10.11.6) here. I'm trying to install Xcode 9 so that I can play around with ARKit. From the Apple Developer's site, the only version of 9 I can find is Xcode_9_beta_6.xip
(please correct me if I'm wrong!), so I download it:
Then I extract & run the XIP file:
But that operation fails due to this strange error that Google doesn't really help me out with (at all):
The operation couldn't be completed. Block-compressed payload operation failed
Any ideas what's going on here?
Here’s the solution to installing Xcode when you get this error: Create a very large file (multiple GBs) using dd (or similar), wait a moment, then delete it (and clear your trash). Now you have enough free space to install Xcode. Still interested in the full reason why this is working? Keep reading. What is the Problem? Is it really the disk size?
“Xcode.xip can’t be expanded because the current volume doesn’t have enough free space.” Error prompt from the Xcodes App ( github.com/RobotsAndPencils/XcodesApp) The initial reaction: “Huh. Wait a minute? I do have enough space, don’t I?”. Then you check your disk usage statistics, and yes, looks like there should be enough free space.
The archive has about 11 GB of file size. That is quite a lot of data, especially for an archive which is the compressed version of Xcode.app. So how much space do we really need for the full app, on our disk? We need a whopping 30 GB of space on our disk. This is a challenge, especially for developers with small drives.
You must use at least the version 10.12.6 to install Xcode 9 beta 6 , I had the same problem but this solved after update my MacOs version, you can try unzip the file with Archive Utility.
xip -x Xcode_12.5_beta_2.xip
worked for me today.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With