Cannot extract xcode 8 beta 3
Asked Answered
B

5

5

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?

Buddhology answered 23/7, 2016 at 2:44 Comment(2)
Seems to me like you have a corrupted/incomplete download. – Chlores
This only works on 10.11.5 (or later)... – Azov
D
7

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.

Diplocardiac answered 23/7, 2016 at 3:7 Comment(5)
Shoot, I didn't want to do that update. I heard there were some serious keychain issues and I don't want to roll back my whole OS. you've been fine though? – Buddhology
No issues that I have noticed. Xcode 8 beta 3 has randomly crashed several times but not much different from previous betas. πŸ€“ – Diplocardiac
I updated to this version of OSX. I had to redownload the beta, but now it extracts successfully. Thanks Matt. Unbelievable solution for the way this problem presents. – Buddhology
Agreed it is a weird solution to a weird problem. – Diplocardiac
Crazy stuff.. same problem here. Should not need to update OS. – Salzhauer
S
3

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  
Snobbery answered 29/7, 2016 at 11:50 Comment(3)
Thanks! Heads up, for newer betas you'll need to append the version to the file name (like Xcode_8_beta_3.xip). Also make sure to run this command in the directory where you downloaded the file. – Pyroelectricity
Thanks @Ben Jakuben . I forgot to mention. – Snobbery
No such xattr: com.apple.quarantine this comes while I tried this – Preposition
T
2

Swift 5 During

Error Picture

enter image description here

Step One Picture

[enter image description here]

Step Two Picture

[enter image description here]

Step Three Picture DONE

enter image description here

Therine answered 8/4, 2020 at 8:30 Comment(0)
R
0

Upgrade MAC OS to OS X 10.11.6

This is the minimum requirement to install xcode 8. Otherwise it shows error when we extract Xcode_8.xip

Robomb answered 22/9, 2016 at 5:55 Comment(0)
Z
0

I tried using unzip, Unarchiver, and other tools, but ultimately the only thing that opened it was Pacifist. However, Pacifist was really slow so I just ended up downloading Xcode from the App Store.

Zins answered 1/12, 2020 at 21:24 Comment(0)

© 2022 - 2024 β€” McMap. All rights reserved.