Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot extract xcode 8 beta 3

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?

like image 716
SimplGy Avatar asked Jul 23 '16 02:07

SimplGy


2 Answers

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.

like image 196
Matt Weinecke Avatar answered Oct 04 '22 16:10

Matt Weinecke


i had similar issues. I had OSX 10.11.4 when i faced the issue,so i updated to OSX 10.11.6. Not able to extract .xip file. Then i tried the below command and that did the trick for me.

 xattr -d com.apple.quarantine Xcode_8_beta.xip  
like image 34
bharathi kumar Avatar answered Oct 04 '22 16:10

bharathi kumar