Closed m-ruhl closed 4 years ago
@m-ruhl are you by chance renaming the Xcode application bundle after xcode-install
completes the install?
Apparently.. I have a "Xcode.app" in the Applications folder
I have the same issue and I never renamed my xcode (11) which was installed through the Apple Store. I'm running on Catalina but when I try to run xcversion list I get this error:
./xcversion list
Traceback (most recent call last):
11: from ./xcversion:23:in <main>' 10: from ./xcversion:23:in
load'
9: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/bin/xcversion:12:in <top (required)>' 8: from /Users/myuser/.gem/ruby/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
run'
7: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/lib/xcode/install/list.rb:13:in run' 6: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/lib/xcode/install.rb:317:in
list'
5: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/lib/xcode/install.rb:303:in list_annotated' 4: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/lib/xcode/install.rb:303:in
map'
3: from /Users/myuser/.gem/ruby/2.7.0/gems/xcode-install-2.6.5/lib/xcode/install.rb:611:in appname_version' 2: from /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/version.rb:206:in
new'
1: from /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/version.rb:206:in new' /usr/local/Cellar/ruby/2.7.1_2/lib/ruby/2.7.0/rubygems/version.rb:215:in
initialize': Malformed version number string Xcode (ArgumentError)
This error will occur unless you have an Xcode.app with the version name appended with a hyphen, e.g., Xcode-11.5.app
.
Hey,
with the newest version (2.6.5) when running
xcversion update
I get this error:Thanks Michael