Cannot extract xcode 8 beta 3

SimplGy picture SimplGy · Jul 23, 2016 · Viewed 8.9k times · Source

I have downloaded it 3 times. Twice in safari and once in chrome.

Every time I cannot unarchive it with the default tool, or with Unarchiver.

Based on this apple developer thread I tried:

$ xar -xf Xcode_8_beta_3\ \(1\).xip 
Error while extracting archive:(Content): archived-checksum sha1's do not match (No such file or directory)

Then:

$ cpio -it < Xcode_8_beta_3\ \(1\).xip 
Content
cpio: Truncated input file (needed 4433260676 bytes, only 4433260317 available): Unknown error: -1

I have 25 gigs of free space on my drive with this file present (but if it was a disk space issue why is it saying my compressed archive is too small by ~250 bytes?)

I'm using OSX 10.11.4

Anybody know what's going on?

Answer

Matt Weinecke picture Matt Weinecke · Jul 23, 2016

I had similar problems. It would just hang verifying. I was able to successfully extract after updating macOS to 10.11.6.

I also cleared out about 50 GB at the same time but I think I already had enough space to begin with.