xcode-install icon indicating copy to clipboard operation
xcode-install copied to clipboard

Incorrectly lists beta number

Open ilyannn opened this issue 7 years ago • 4 comments

My Xcode beta version: Version 10.0 beta 2 (10L177m)

xcversion output lists it incorrectly as beta 5:

➜ xcversion list
[...]
9.1
9.2
9.3
9.3.1
9.4
9.4.1 (installed)
10 beta 5 (installed)

ilyannn avatar Aug 13 '18 12:08 ilyannn

I'm seeing something similar.

I have beta 5 installed, and xcversion list shows beta 6 as the installed one.

screen shot 2018-08-14 at 8 28 46 am

Worth pointing out that beta 6 is the latest available beta one on the Developer Portal download page at the time of this writing.

I'm using version 2.4.4 of the Gem, which is the latest one at the time of this writing. (Although version.rb has 2.4.3 🤔).

mokagio avatar Aug 13 '18 22:08 mokagio

After having had a quick look around PRs and Issues I think the following issues are somehow related to this:

Also, the logic to mark a beta as installed in the list has been added in this recent PR. It might be a good place to start investigating how to solve the issue of betas not being identified correctly and therefore not updating.

Finally worth mentioning what @KrauseFx says in this comment

Apple only provides the most recent beta

mokagio avatar Aug 13 '18 22:08 mokagio

I'm seeing the same thing. It seems that running 'xcversion update' updates the list of available versions (as expected), but shows the latest beta version as installed, even though the installed version is actually older (which is a bug IMO).

Is there a way to actually update the beta to the latest version using 'xcversion'? So far, my workaround has been an uninstall (xcversion uninstall 10.0) followed by a new install.

AndreasBS avatar Sep 13 '18 08:09 AndreasBS

The output I'm seeing today:

11 GM Seed 2 (installed)
11 Beta 7 (installed)
11 Beta 6 (installed)

I have 11 GM Seed 1 installed and no betas.

iosdevben avatar Sep 17 '19 00:09 iosdevben