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

Cannot select "10 beta 6" after installation

Open fschwahn opened this issue 7 years ago • 5 comments

I installed 10 beta 6 using xcversion install "10 beta 6", which worked and 10 beta 6 was selected. Afterwards I switched back using xcversion select 9.4.1, which also worked. Then I tried selecting 10 beta 6 again, and now it says 10 beta 6 is not installed.

xcversion install "10 beta 6" 
# worked, 10 beta 6 selected
xcversion select 9.4.1
# works, 9.4.1 selected
xcversion select "10 beta 6" 
# [!] Version 10 beta 6 not installed.
xcversion list
# ...
# 9.4
# 9.4.1 (installed)
# 10 beta 6 (installed)

fschwahn avatar Aug 20 '18 13:08 fschwahn

@KrauseFx this is happening because of apple. Apple first released with name "10 Beta 6" so xcversion update gives us "9.4.1 (installed) 10 Beta 6" But later apple has changed it to "10 beta 6" and now if we give 10 beta 6, xcversion fails '[!] Version 10 beta 6 doesn't exist.'

Any idea how can we fix the issue?

ykhandelwal913 avatar Aug 21 '18 17:08 ykhandelwal913

i can't install 10 beta 6.

ykhandelwal913 avatar Aug 28 '18 16:08 ykhandelwal913

Got the same issue while trying to uninstall the beta so I debugged the whole thing. When you are calling xcversion list it shows 10 beta 6 but if you are logging puts @installer.installed_versions.map { |bla| bla.version } it will show you that you installed version 10.0. Maybe show the real version in brackets behind the 10 beta 6?

olivereisenhut avatar Aug 31 '18 16:08 olivereisenhut

I had the same issue but was able to solve it by running:

$ xcversion select 10.0

I got the idea to do that from @olivereisenhut; thank you!

ylluminarious avatar Sep 01 '18 08:09 ylluminarious

I wanted to select 10 GM seed but failed like below.

$ bundle exec xcversion select '10 GM seed' --symlink
[!] Version 10 GM seed not installed.

Thank you @olivereisenhut's post, it worked for me.

$ bundle exec xcversion select 10.0

acevif avatar Sep 13 '18 08:09 acevif