Open rhcpfan opened 5 years ago
the same thing
+1
(Resolved)
Same here. After trying few times it seems to be working but got another error:
No
Xcode.app(or Xcode-beta.app)
found in XIP. Please remove /Users/Suyeol/Library/Caches/XcodeInstall/Xcode_11.2.1.xip if you suspect a corrupted download or runxcversion update
to see if the version you tried to install has been pulled by Apple. If none of this is true, please open a new GH issue.
Version
$ xcversion --version
2.6.3
First trial
bash-3.2$ xcversion install 11.2.1
100 305 100 305 0 0 815 0 --:--:-- --:--:-- --:--:-- 815
100 305 100 305 0 0 815 0 --:--:-- --:--:-- --:--:-- 815
13 7459M 13 1024M 0 0 5783k 0 0:22:00 0:03:01 0:18:59 5818k%
curl: (18) transfer closed with 6748115084 bytes remaining to read
100 305 100 305 0 0 734 0 --:--:-- --:--:-- --:--:-- 3910
100 305 100 305 0 0 734 0 --:--:-- --:--:-- --:--:-- 3910
15 6435M 15 1024M 0 0 5676k 0 0:19:20 0:03:04 0:16:16 5710k%
curl: (18) transfer closed with 5674373260 bytes remaining to read
100 305 100 305 0 0 868 0 --:--:-- --:--:-- --:--:-- 868
100 305 100 305 0 0 868 0 --:--:-- --:--:-- --:--:-- 868
18 5411M 18 1024M 0 0 5765k 0 0:16:01 0:03:01 0:13:00 5672k%
curl: (18) transfer closed with 4600631436 bytes remaining to read
%[!] Failed to download Xcode 11.2.1.
Second trial
bash-3.2$ xcversion install 11.2.1
100 313 100 313 0 0 934 0 --:--:-- --:--:-- --:--:-- 934
23 4387M 23 1024M 0 0 5866k 0 0:12:45 0:02:58 0:09:47 5861k%
curl: (18) transfer closed with 3526889612 bytes remaining to read
100 305 100 305 0 0 804 0 --:--:-- --:--:-- --:--:-- 297k
100 305 100 305 0 0 804 0 --:--:-- --:--:-- --:--:-- 297k
30 3363M 30 1024M 0 0 6222k 0 0:09:13 0:02:48 0:06:25 6099k%
curl: (18) transfer closed with 2453147788 bytes remaining to read
100 313 100 313 0 0 1071 0 --:--:-- --:--:-- --:--:-- 1071
43 2339M 43 1024M 0 0 6073k 0 0:06:34 0:02:52 0:03:42 5869k%
curl: (18) transfer closed with 1379405964 bytes remaining to read
%[!] Failed to download Xcode 11.2.1.
Third trial
bash-3.2$ xcversion install 11.2.1
100 305 100 305 0 0 734 0 --:--:-- --:--:-- --:--:-- 734
77 1315M 77 1024M 0 0 5971k 0 0:03:45 0:02:55 0:00:50 5881k%
curl: (18) transfer closed with 305664140 bytes remaining to read
100 305 100 305 0 0 760 0 --:--:-- --:--:-- --:--:-- 760
100 305 100 305 0 0 760 0 --:--:-- --:--:-- --:--:-- 760
100 291M 100 291M 0 0 5867k 0 0:00:50 0:00:50 --:--:-- 6040k%
%xip: error: The archive “Xcode_11.2.1.xip” can’t be expanded because the selected volume doesn’t have enough free space.
No `Xcode.app(or Xcode-beta.app)` found in XIP. Please remove /Users/Suyeol/Library/Caches/XcodeInstall/Xcode_11.2.1.xip if you suspect a corrupted download or run `xcversion update` to see if the version you tried to install has been pulled by Apple. If none of this is true, please open a new GH issue.
Running on macOS Catalina VPS with about 17GB disk storage available.
I expected that it was not a disk storage problem but it was. It has succeeded after free up disk space.
+1
Same problem here
Can this be fixed please? Xcode is about 10Gb large these days & baby sitting xcversion
for hours is counter-productive.
@pronebird See the mentioned PR. Since release 2.6.7 you can use --retry-download-count=x to insert any amount of retries. It wasn't in the release notes unfortunately
So the default retry count is 3?
Shouldn't it retry automatically? One of the reasons I love xcversion is that I don't have to manually deal with Xcode downloads and installs, but for the past month it's been more productive to fire up the browser and grab XCode directly.
Here's the output when trying to download
11 GM Seed
(it happened with other versions too)If I run the same command again, it resumes the download. I have to run it 3-4 times depending on the download size. After the download is complete, the installation runs as expected.