Fastlane:找不到动作、通道或变量“”

问题描述 投票:0回答:4

运行

bundle exec fastlane build
时,fastlane打印以下错误信息(引号之间的字符为U+200B零宽度空格):

[!] Could not find action, lane or variable '​'. Check out the documentation for more details: https://docs.fastlane.tools/actions

快车道:2.130.0
宝石:3.0.6

有人遇到过这个问题吗?如果是的话,你是怎么解决的?

提前致谢

fastlane
4个回答
11
投票

发现问题:我的 Fastfile 中某处有一个零宽度空格字符。


0
投票

就我而言,它显示

could not find action, lane or variable 'appcenter_upload'
所以我必须安装 AppCenter 插件: 使用
fastlane add_plugin appcenter


0
投票

在您的车道前面添加

|options|


0
投票

这是因为您的 Gem 文件不包含进入项目文件夹的 fastlane 文件夹路径,找到 Gemfile 单击“编辑”并更新相同的内容。

更新前

来源“https://rubygems.org”

宝石“快车道”

plugins_path = File.join(File.dirname(FILE), '.', 'Pluginfile') eval_gemfile(plugins_path) 如果 File.exist?(plugins_path)

更新后

来源“https://rubygems.org”

宝石“快车道”

plugins_path = File.join(File.dirname(FILE), 'fastlane', 'Pluginfile') eval_gemfile(plugins_path) 如果 File.exist?(plugins_path)

© www.soinside.com 2019 - 2024. All rights reserved.