Coder Social home page Coder Social logo

Comments (12)

vicorious avatar vicorious commented on May 4, 2024 1

Hello!

I have the same problem on Windows (same case) and reading these comments I don't understand where should I modify this which command to where?

Thanks!

Please, follow next steps for windows users.

First, in flutter project.

bundle install --path vendor/bundle

Second

flutter-project\android\vendor\bundle\ruby*2.x.x*\gems\fastlane-plugin-firebase_app_distribution-0.1.4\lib\fastlane\plugin\firebase_app_distribution\actions*firebase_app_distribution_action.rb*

Change line.
which firebase

to

where firebase

And it works!!

from fastlane-plugin-firebase_app_distribution.

alexsinger avatar alexsinger commented on May 4, 2024

In you Gemfile, can you double-check that the path (bolded below) is set to the location of your Pluginfile?

plugins_path = File.join(File.dirname(FILE), './fastlane', 'Pluginfile')

from fastlane-plugin-firebase_app_distribution.

welersonMelo avatar welersonMelo commented on May 4, 2024

Yes, both are in the same folder.
The lines are:
plugins_path = File.join(File.dirname(__FILE__), '.', 'Pluginfile') eval_gemfile(plugins_path) if File.exist?(plugins_path)
In addition, others plugins are working well.

from fastlane-plugin-firebase_app_distribution.

alexsinger avatar alexsinger commented on May 4, 2024

Not sure if this is the issue, but the log says No such file or directory - which firebase. Wonder if this default value for the Firebase CLI is causing problems on Windows.

Do you have the Firebase CLI set up on the machine? Can you try explicitly setting firebase_cli_path in your Fastfile config?

from fastlane-plugin-firebase_app_distribution.

welersonMelo avatar welersonMelo commented on May 4, 2024

Yes I have done that. I have set firebase_cli_path manually on Fastfile and I got the same error.
But the error is before Fastfile be executed.

And seen the code, I understood what is the "which" of the log. The which command does not exist on Windows, I thing that is the problem.

from fastlane-plugin-firebase_app_distribution.

alexsinger avatar alexsinger commented on May 4, 2024

I don't have a Windows machine so can't test it out. Can you try commenting or editing the default which command to see if that fixes it?

from fastlane-plugin-firebase_app_distribution.

welersonMelo avatar welersonMelo commented on May 4, 2024

Hello!
Yes. It works on Windows when using where command. Thank you.
What now to it to be fixed?

from fastlane-plugin-firebase_app_distribution.

alexsinger avatar alexsinger commented on May 4, 2024

Oh great! I'm glad that solved it. Would you be up for submitting a PR to help fix it? Our team doesn't have a Windows machine so it's hard for us to test it out.

from fastlane-plugin-firebase_app_distribution.

ivevasiljevic avatar ivevasiljevic commented on May 4, 2024

Hello!

I have the same problem on Windows (same case) and reading these comments I don't understand where should I modify this which command to where?

Thanks!

from fastlane-plugin-firebase_app_distribution.

renatosousa-git avatar renatosousa-git commented on May 4, 2024

Hello!

I have the same problem on Windows (same case) and reading these comments I don't understand where should I modify this which command to where?

Thanks!

Algo parecido com esse caminho, o local onde você encontrara o arquivo para modificar...

C:\tools\ruby27\lib\ruby\gems\2.7.0\gems\fastlane-plugin-firebase_app_distribution-0.1.4\lib\fastlane\plugin\firebase_app_distribution\actions

from fastlane-plugin-firebase_app_distribution.

Rissmon avatar Rissmon commented on May 4, 2024

I was also facing the error No actions found in Plugin version.
Thanks @welersonMelo @alexsinger Followed your comment and now I am having a different error firebase_cli_path: missing path to firebase cli tool. Please install firebase in $PATH or specify path

from fastlane-plugin-firebase_app_distribution.

Rissmon avatar Rissmon commented on May 4, 2024

I was also facing the error No actions found in Plugin version.
Thanks @welersonMelo @alexsinger Followed your comment and now I am having a different error firebase_cli_path: missing path to firebase cli tool. Please install firebase in $PATH or specify path

Again Thanks for the fix. firebase_cli_path issue is solved by adding the path explicitily:
Fastfile

desc "Submit a new Beta Build"
lane :distribute do
build_android_app(task: "assembleQcRelease")`

  `firebase_app_distribution(`
   ` app: "xxxxxxx",`
   `firebase_cli_path:"C:/Users/RISSMON/AppData/Roaming/npm/firebase")`

from fastlane-plugin-firebase_app_distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.