Closed RuudPuts closed 6 years ago
Any update on this? I'm experiencing the same issue.
Hey @RuudPuts, thanks for reporting this, I just pushed a PR that should fix this issue https://github.com/fastlane/fastlane/pull/11222. It will be in the next fastlane release 👍
With the latest fastlane version installed, running xcversion hits an undefined 'ask' method. I can't seem to figure out how ask can be made available. I've seen it's usages within the fastlane core, but xcversion isn't part of that module and I expect that's the reason it can't use 'ask'.
Stack trace is included
/Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/two_step_client.rb:63:in
handle_two_factor': undefined methodask' for #<Spaceship::PortalClient:0x007fc072a935c8> (NoMethodError) from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/two_step_client.rb:39:in
handle_two_step' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/client.rb:473:insend_shared_login_request' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/portal/portal_client.rb:13:in
send_login_request' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/client.rb:661:indo_login' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/client.rb:401:in
login' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/client.rb:117:inlogin' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/portal/spaceship.rb:22:in
login' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/fastlane-2.64.0/spaceship/lib/spaceship/portal/spaceship.rb:92:inlogin' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install.rb:200:in
spaceship' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install.rb:242:infetch_seedlist' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install.rb:319:in
seedlist' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install.rb:279:inlist_versions' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install.rb:70:in
exist?' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/lib/xcode/install/install.rb:41:invalidate!' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:333:in
run' from /Users/Ruud/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/xcode-install-2.3.1/bin/xcversion:12:in<top (required)>' from /Users/Ruud/.rbenv/versions/2.3.4/bin/xcversion:22:in
load' from /Users/Ruud/.rbenv/versions/2.3.4/bin/xcversion:22:in<main>'