fastlane: Could not find action, lane or variable 'firebase_app_distribution'
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
Complete output when running fastlane, including the stack trace and command used
android git:(master) ✗ fastlane add_plugin firebase_app_distribution [✔] 🚀 [18:55:11]: fastlane detected a Gemfile in the current directory [18:55:11]: however it seems like you don't use `bundle exec` [18:55:11]: to launch fastlane faster, please use [18:55:11]: [18:55:11]: $ bundle exec fastlane add_plugin firebase_app_distribution [18:55:11]: [18:55:11]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile [18:55:12]: It seems like you wanted to load some plugins, however they couldn't be loaded [18:55:12]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/ [18:55:13]: Plugin 'fastlane-plugin-firebase_app_distribution' was added to './fastlane/Pluginfile' [18:55:13]: Make sure to commit your Gemfile, Gemfile.lock and Pluginfile to version control Installing plugin dependencies... Successfully installed pluginsandroid git:(master) ✗ fastlane distribute [✔] 🚀 [18:55:38]: fastlane detected a Gemfile in the current directory [18:55:38]: however it seems like you don’t use
bundle exec[18:55:38]: to launch fastlane faster, please use [18:55:38]: [18:55:38]: $ bundle exec fastlane distribute [18:55:38]: [18:55:38]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile [18:55:38]: It seems like you wanted to load some plugins, however they couldn’t be loaded [18:55:38]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/ [18:55:38]: ------------------------------ [18:55:38]: — Step: default_platform — [18:55:38]: ------------------------------ [18:55:38]: Driving the lane ‘android distribute’ 🚀 ±-----------------±-------------------+ | Lane Context | ±-----------------±-------------------+ | DEFAULT_PLATFORM | android | | PLATFORM_NAME | android | | LANE_NAME | android distribute | ±-----------------±-------------------+ [18:55:38]: Could not find action, lane or variable ‘firebase_app_distribution’. Check out the documentation for more details: https://docs.fastlane.tools/actions±-----±-----------------±------------+ | fastlane summary | ±-----±-----------------±------------+ | Step | Action | Time (in s) | ±-----±-----------------±------------+ | 1 | default_platform | 0 | ±-----±-----------------±------------+
[18:55:38]: fastlane finished with errors
[!] Could not find action, lane or variable ‘firebase_app_distribution’. Check out the documentation for more details: https://docs.fastlane.tools/actions
Environment
🚫 fastlane environment 🚫
Stack
Key Value OS 10.14.6 Ruby 2.6.5 Bundler? false Git git version 2.21.0 (Apple Git-122) Installation Source ~/.rbenv/versions/2.6.5/bin/fastlane Host Mac OS X 10.14.6 (18G103) Ruby Lib Dir ~/.rbenv/versions/2.6.5/lib OpenSSL Version OpenSSL 1.1.1d 10 Sep 2019 Is contained false Is homebrew false Is installed via Fabric.app false Xcode Path /Applications/Xcode.app/Contents/Developer/ Xcode Version 11.0 System Locale
Error No Locale with UTF8 found 🚫 fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration # You can find the documentation at https://docs.fastlane.tools # # For a list of all available actions, check out # # https://docs.fastlane.tools/actions # # For a list of all available plugins, check out # # https://docs.fastlane.tools/plugins/available-plugins # # Uncomment the line if you want fastlane to automatically update itself # update_fastlane default_platform(:android) platform :android do desc "Runs all the tests" lane :test do gradle(task: "test") end desc "build apk" lane :beta do # Adjust the `build_type` and `flavor` params as needed to build the right APK for your setup gradle( task: 'assemble', build_type: 'Release' ) # ... end desc "Submit a new Beta Build to Firebase App Distribution" lane :distribute do firebase_app_distribution( app: "1:************:android:**********************", release_notes: "This is CI / CD integration test", apk_path:"/Users/apple/StudioProjects/flutter-vendor-admin/build/app/outputs/apk/release/app-release.apk", firebase_cli_path: "/usr/local/bin/firebase" ) slack( message: 'Successfully distributed a new beta build', slack_url: 'https://hooks.slack.com/services/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', payload: { "Build Date" => Time.new.to_s, "Built by" => "Fastlane", }, attachment_properties: { fields: [ { title: "Build number", value: ENV["BUILD_NUMBER"], }, ] } ) end desc "Deploy a new version to the Google Play" lane :deploy do gradle(task: "clean assembleRelease") upload_to_play_store end end`./fastlane/Appfile`
json_key_file("/Users/apple/StudioProjects/flutter-vendor-admin/config/vendor_admin_service_account.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one package_name("com.******.******. package") # e.g. com.krausefx.appfastlane gems
Gem Version Update-Status fastlane 2.133.0 ✅ Up-To-Date Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem Version did_you_mean 1.3.1 slack-notifier 2.3.2 atomos 0.1.3 CFPropertyList 3.0.1 claide 1.0.3 colored2 3.1.2 nanaimo 0.2.6 xcodeproj 1.12.0 rouge 2.0.7 xcpretty 0.3.0 terminal-notifier 2.0.0 unicode-display_width 1.6.0 terminal-table 1.8.0 plist 3.5.0 addressable 2.7.0 multipart-post 2.0.0 word_wrap 1.0.0 public_suffix 2.0.5 tty-screen 0.7.0 tty-cursor 0.7.0 tty-spinner 0.9.1 babosa 1.0.3 colored 1.2 highline 1.7.10 commander-fastlane 4.4.6 excon 0.67.0 faraday 0.15.4 faraday_middleware 0.13.1 unf_ext 0.0.7.6 unf 0.1.4 domain_name 0.5.20190701 http-cookie 1.0.3 faraday-cookie_jar 0.0.6 fastimage 2.1.7 gh_inspector 1.1.3 mini_magick 4.9.5 multi_xml 0.6.0 rubyzip 1.3.0 security 0.1.3 xcpretty-travis-formatter 1.0.0 dotenv 2.7.5 bundler 1.17.2 naturally 2.2.0 simctl 1.6.6 jwt 2.1.0 uber 0.1.0 declarative 0.0.10 declarative-option 0.1.0 representable 3.0.4 retriable 3.1.2 mime-types-data 3.2019.0904 mime-types 3.3 multi_json 1.13.1 signet 0.11.0 memoist 0.16.0 os 1.0.1 googleauth 0.6.7 httpclient 2.8.3 google-api-client 0.23.9 emoji_regex 1.0.1 json 2.2.0 digest-crc 0.4.1 google-cloud-env 1.2.1 google-cloud-core 1.3.1 google-cloud-storage 1.16.0 forwardable 1.2.0 logger 1.4.1 stringio 0.0.2 ipaddr 1.2.2 openssl 2.1.2 ostruct 0.1.0 strscan 1.0.0 date 2.0.0 fileutils 1.3.0 io-console 0.4.8 zlib 1.0.0 rexml 3.2.2 etc 1.0.1 psych 3.1.0 mutex_m 0.1.0 generated on: 2019-10-03
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (2 by maintainers)
I had the same problem with
firebase_app_distribution. In my case It was resolved after ruby update from 2.6.0 to 2.6.3. Then also I reinstall bundler and bundles.@dipkasyap I had problem with
build_appwhen used brew to install fastlane. It installs not actual version. Advice to reinstall fastlane using RubyGems to get new version instead of 2.28.3.2.28.3 Same on build action
On List of actions I am not able to find build_app
After executing “fastlane add_plugin firebase_app_distribution” with fastlane “2.134.0” my Pluginfile was updated with new line “gem ‘fastlane-plugin-firebase_app_distribution’”. After that, action “firebase_app_distribution” worked as expected.
Having the same issue on 2.134
@svallex
Thank you, I had the same problem and installing
fastlanevia RubyGems worked for me.@MrJune15 @janpio Have we been able to find a solution to the problem yet ?
I’m facing similar issue on MacOS Mojave with
fastlane 2.136.0.I had installed the
firebase_app_distributionplugin successfully via the recommended command$ fastlane add_plugin firebase_app_distributionBut
bundle exec fastlane run firebase_app_distributionfails with error, details below.Please suggest a way forward to resolve this.
TIA Tas