在github操作构建期间,我正在使用fastlane
。但是由于我添加了一个新插件,我开始收到一个错误:
It seems like you wanted to load some plugins, however they couldn't be loaded
这是我的Pluginfile
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
#gem 'fastlane-plugin-json'
下面是github工作流的一部分:
runs-on: ubuntu-latest
steps:
....
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
bundler-cache: true
- name: Setup Fastlane
working-directory: ./application
run: bundle install
- name: Build Android version
timeout-minutes: 10
working-directory: ./application
run: bundle exec fastlane build platform:android
当涉及到json
插件的使用时,我会收到另一个错误:
Could not find action, lane or variable 'read_json'.
这只会确认插件没有正确加载。
对如何解决这个问题有什么想法吗?谢谢!
发布于 2022-09-23 13:56:21
您已经注释掉了插件文件中的行#gem 'fastlane-plugin-json'
。尝试从该行的开头删除#
字符。
https://stackoverflow.com/questions/73621136
复制相似问题