XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.68k stars 126 forks source link

Could not find version 12.5 Release Candidate #144

Open HackingGate opened 3 years ago

HackingGate commented 3 years ago
$ xcodes update
[...]
12.5 Beta 3 (12E5244e)
12.5 Release Candidate (12E262)

$ xcodes install 12.5 Beta 3
(1/6) Downloading Xcode 12.5.0-Beta.3+12E5244e: 1%
^C

$ xcodes install 12.5 Release Candidate
Could not find version 12.5 Release Candidate.

$ xcodes version
0.17.0
HackingGate commented 3 years ago

I'm using this command instead. Installing 12.5 Release Candidate.

$ xcodes help install
$ xcodes install --latest-prerelease
Updating...
Latest prerelease version available is 12.5 Release Candidate
(1/6) Downloading Xcode 12.5.0-Release.Candidate+12E262: 2%
MattKiazyk commented 3 years ago

Thanks for the heads up. Obviously we haven't gotten that down just right yet. Some information:

By default, we use xcodesreleases.com as the data store for this. It's simpler, quicker, but may not match exactly what is returning from Apple API.

In this case, if you run

xcodes update --data-source=apple

You'll see that it has two 12.5 RC versions

...
12.5 Beta 3
12.5 RC (12E262)
12.5 Release Candidate

xcode install 12.5 RC works in this case. More information on past is in #123 . We'll work on that to see what else we can do better as Xcodes.app is handling it properly.