fastlane: [Regression] method `app_id' not defined in Spaceship::TestFlight::Build (NameError)

In versions 2.74.* I get the following error: spaceship/lib/spaceship/base.rb:137:in remove_method': method app_id’ not defined in Spaceship::TestFlight::Build (NameError)

New Issue Checklist

Issue Description

When running any fastlane command, I get the following error, claiming that method app_id’ not defined in Spaceship::TestFlight::Build (NameError)`

Note that I am not able to include information other than a screenshot due to the fact that every fastlane command throws this same error.

Complete output when running fastlane, including the stack trace and command used

screen shot 2018-01-08 at 3 44 48 pm

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (5 by maintainers)

Commits related to this issue

Most upvoted comments

sudo gem install fastlane -v 2.71.1 and then sudo gem uninstall fastlane and pick 2.74.1 and I’m back up and running.

I just pushed a PR that hopefully fixes the problem, gonna do a hotfix release with this change today: https://github.com/fastlane/fastlane/pull/11493

Thanks @KrauseFx! Good job, it works.

Same problem right now just after update 👎

UPDATE: Commands from @taquitos comment not helped. Uninstall and fresh install too.

I’m not sure but it seems that latest release is not working at all.

MBP-Ivan-2:client itruf$ fastlane env
[⠋] 🚀 /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/tty-screen-0.6.3/lib/tty/version.rb:3: warning: already initialized constant TTY::Screen::VERSION
/Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/tty-screen-0.6.3/lib/tty/version.rb:3: warning: previous definition of VERSION was here
[⠹] 🚀 /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.74.1/spaceship/lib/spaceship/base.rb:137:in `remove_method': method `app_id' not defined in Spaceship::TestFlight::Build (NameError)
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.74.1/spaceship/lib/spaceship/base.rb:137:in `block in attr_mapping'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.74.1/spaceship/lib/spaceship/base.rb:134:in `each'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.74.1/spaceship/lib/spaceship/base.rb:134:in `attr_mapping'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/spaceship/lib/spaceship/test_flight/build.rb:62:in `<class:Build>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/spaceship/lib/spaceship/test_flight/build.rb:11:in `<module:TestFlight>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/spaceship/lib/spaceship/test_flight/build.rb:10:in `<module:Spaceship>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/spaceship/lib/spaceship/test_flight/build.rb:9:in `<top (required)>'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/gems/2.3.0/gems/fastlane-2.74.1/fastlane_core/lib/fastlane_core/build_watcher.rb:1:in `<top (required)>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/fastlane_core/lib/fastlane_core.rb:30:in `require_relative'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/fastlane_core/lib/fastlane_core.rb:30:in `<top (required)>'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/fastlane/lib/fastlane.rb:1:in `<top (required)>'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/rubies/ruby-2.3.3/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/fastlane/lib/fastlane/cli_tools_distributor.rb:33:in `take_off'
	from /Users/itruf/.rvm/gems/ruby-2.3.3@global/gems/fastlane-2.74.1/bin/fastlane:20:in `<top (required)>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3/bin/fastlane:22:in `load'
	from /Users/itruf/.rvm/gems/ruby-2.3.3/bin/fastlane:22:in `<main>'
	from /Users/itruf/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
	from /Users/itruf/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'