1
❯ bundle exec fastlane run firebase_app_distribution
[✔]  
+------------------------------------+---------+----------------------------------------------------+
|                                           Used plugins                                            |
+------------------------------------+---------+----------------------------------------------------+
| Plugin                             | Version | Action                                             |
+------------------------------------+---------+----------------------------------------------------+
| fastlane-plugin-badge              | 1.1.0   | add_badge                                          |
| fastlane-plugin-versioning_android | 0.1.0   | android_get_version_name android_set_version_code  |
|                                    |         | android_set_version_name android_get_version_code  |
| fastlane-plugin-android_sdk_update | 1.0.0   | android_sdk_update                                 |
+------------------------------------+---------+----------------------------------------------------+


[!] Action 'firebase_app_distribution' not available, run `fastlane actions` to get a full list

直到两周前我都没有问题。我找不到什么影响它。没有出现在“使用的插件”列表中我可以看到这个命令的错误。

 ❯ bundle exec fastlane run fenter code hereirebase_app_distribution

我在 fastlane/Pluginfile >>> gem 'fastlane-plugin-firebase_app_distribution' 中有这个,我可以在 tmp-fastlane-ci-bundle/gems/fastlane-plugin-firebase_app_distribution 中看到插件

我尝试了以下解决方案

❯ sudo gem uninstall fastlane-plugin-firebase_app_distribution
❯ gem install fastlane-plugin-firebase_app_distribution --user-install

这些不起作用

❯ sudo chmod -R a+r /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-firebase_app_distribution-
0.1.4
chmod: /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-firebase_app_distribution-0.1.4: 
No such file or directory

❯ bundle exec fassudo chmod -R a+r /Library/Ruby/Gems/2.6.0/gems/fastlane-plugin-
firebase_app_distribution-0.1.4

bundler: command not found: fassudo
Install missing gem executables with `bundle install`
4

1 回答 1

0

有点晚了,但对于遇到此问题的其他人:运行fastlane add_plugin firebase_app_distribution以将该插件添加到 fastlane

于 2020-10-31T16:16:02.263 回答