xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 243 forks source link

Unable to determine Xcode version from path name #407

Open donly opened 4 years ago

donly commented 4 years ago

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

albsala commented 4 years ago

Same here with 2.6.6 just trying with xcversion list.

hoangcanloc commented 4 years ago

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:inload' 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:inrun' 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:inlist' 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:inmap' 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:innew' 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:ininitialize': Malformed version number string Download.0 (ArgumentError)

Same to me

maxim-lobanov commented 4 years ago

The same for me. Any updates or fixes?

wndxlori commented 4 years ago

I'm seeing this too.

haemi commented 4 years ago

any updates on this?

honcheng commented 4 years ago

Same problem in 2.6.7

BradPatras commented 3 years ago

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