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

Unable to determine Xcode version from path name

Open donly opened this issue 5 years ago • 7 comments

run xcversion update, showing these:

Unable to determine Xcode version from path name, installed list may not correctly identify installed betas
nil versions are discouraged and will be deprecated in Rubygems 4

xcversion version is 2.6.6

donly avatar Sep 30 '20 01:09 donly

Same here with 2.6.6 just trying with xcversion list.

albsala avatar Oct 08 '20 06:10 albsala

Unable to determine Xcode version from path name, installed list may not correctly identify installed betas nil versions are discouraged and will be deprecated in Rubygems 4 Traceback (most recent call last): 11: from /usr/local/bin/xcversion:23:in <main>' 10: from /usr/local/bin/xcversion:23:in load' 9: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/bin/xcversion:12:in <top (required)>' 8: from /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run' 7: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/lib/xcode/install/list.rb:13:in run' 6: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/lib/xcode/install.rb:317:in list' 5: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/lib/xcode/install.rb:305:in list_annotated' 4: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/lib/xcode/install.rb:305:in map' 3: from /Library/Ruby/Gems/2.6.0/gems/xcode-install-2.6.6/lib/xcode/install.rb:310:in block in list_annotated' 2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/version.rb:203:in new' 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/version.rb:203:in new' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/version.rb:212:in initialize': Malformed version number string Download.0 (ArgumentError)

Same to me

hoangcanloc avatar Oct 13 '20 06:10 hoangcanloc

The same for me. Any updates or fixes?

maxim-lobanov avatar Oct 29 '20 04:10 maxim-lobanov

I'm seeing this too.

wndxlori avatar Nov 03 '20 20:11 wndxlori

any updates on this?

haemi avatar Nov 10 '20 07:11 haemi

Same problem in 2.6.7

honcheng avatar Nov 13 '20 01:11 honcheng

The fix for me was removing the App Store-installed version of Xcode, which just showed up as a version with the path (/Applications/Xcode.app) when running xcversion installed

BradPatras avatar Jun 11 '21 14:06 BradPatras