NoMethodError: undefined method `strip' for nil:NilClass

#1

Hi !

I am trying to use fastlane method for creating sandbox users. I wanted to do it using API Key but it is not possible now (https://github.com/fastlane/fastlane/discussions/18252#discussioncomment-393997).

So i tried to add flag
SPACESHIP_SKIP_2FA_UPGRADE = true

but it seems i cannot do it because i got error (probably not connected to this flag).

Fastlane version is 2.175.0

Can you try to help me?
Thanks in advance

Logs from error:
[[REDACTED]:33:[REDACTED]6]: [REDACTED]mfastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane…
:arrow_right: [Swift] undefined method each' for nil:NilClass - Cannot Create Group Within FastlaneSwiftRunner Project https://github.com/fastlane/fastlane/issues/[REDACTED]5[REDACTED]84 [[REDACTED]mopen] 55 💬 4 weeks ago ➡️ firebase_app_distribution: Faraday::ForbiddenError: [!] the server responded with status 403 https://github.com/fastlane/fastlane/issues/[REDACTED]8[REDACTED]70 [closed] 4 💬 a week ago ➡️ [!] undefined method[]’ for #<Gem::NameTuple fastlane, 2.[REDACTED]43.0, ruby> (NoMethodError)
https://github.com/fastlane/fastlane/issues/[REDACTED]6[REDACTED]27 [closed] 46 :speech_balloon:
03 Jan 202[REDACTED]
and [REDACTED]0 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20`strip’%20for%20nil Did%20you%20mean%3F%20%20String&type=Issues&utf8=✓
:link: You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/vagrant/.rbenv/versions/2.6.5/bin/fastlane)
NoMethodError: [REDACTED]m[!] undefined method strip' for nil:NilClass Did you mean? String /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/highline-[REDACTED].7.[REDACTED]0/lib/highline/question.rb:4[REDACTED]3:inremove_whitespace’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/highline-[REDACTED].7.[REDACTED]0/lib/highline.rb:873:in get_line' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/highline-[REDACTED].7.[REDACTED]0/lib/highline.rb:89[REDACTED]:inget_response’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/highline-[REDACTED].7.[REDACTED]0/lib/highline.rb:264:in ask' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/2.6.0/forwardable.rb:230:inask’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:228:in ask_for_2fa_code' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:[REDACTED]62:inhandle_two_factor’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:2[REDACTED]:in handle_two_step_or_factor' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/client.rb:50[REDACTED]:insend_shared_login_request’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/tunes/tunes_client.rb:[REDACTED]27:in send_login_request' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/client.rb:805:indo_login’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/client.rb:390:in login' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/client.rb:352:inlogin’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in login' CreateSandboxTester:4:inblock in parsing_binding’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/lane.rb:33:in call' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/runner.rb:49:inblock in execute’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/runner.rb:45:in chdir' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/runner.rb:45:inexecute’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/command_line_handler.rb:36:inhandle’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/commands_generator.rb:[REDACTED]08:in block (2 levels) in run' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:[REDACTED]78:incall’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:[REDACTED]53:in run' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:inrun_active_command’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:[REDACTED]5:inrun!’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/commands_generator.rb:352:in run' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/commands_generator.rb:4[REDACTED]:instart’
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/fastlane/lib/fastlane/cli_tools_distributor.rb:[REDACTED]22:in take_off' /Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.[REDACTED]75.0/bin/fastlane:23:in<top (required)>’
/Users/vagrant/.rbenv/versions/2.6.5/bin/fastlane:23:in load' /Users/vagrant/.rbenv/versions/2.6.5/bin/fastlane:23:in<top (required)>’

0 Likes