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
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
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

About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (5 by maintainers)
Commits related to this issue
- Fix spaceship crash on some Ruby environments Fixes https://github.com/fastlane/fastlane/issues/11481 — committed to fastlane/fastlane by KrauseFx 6 years ago
- Fix spaceship crash on some Ruby environments (#11493) Fixes https://github.com/fastlane/fastlane/issues/11481 — committed to fastlane/fastlane by KrauseFx 6 years ago
- Fix spaceship crash on some Ruby environments (#11493) Fixes https://github.com/fastlane/fastlane/issues/11481 — committed to minuscorp/fastlane by KrauseFx 6 years ago
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.