FastlaneCore::Helper::AppcenterHelper:Class 的未定义局部变量或方法“所有者”(NameError)
undefined local variable or method `owner' for FastlaneCore::Helper::AppcenterHelper:Class (NameError)
当我尝试使用 Fastlane 将 iOS 应用分发到 appcenter 时,我收到类似 [!] undefined local variable or method `owner' for FastlaneCore::Helper::AppcenterHelper:Class (NameError) 的错误。
+--------+----------------+------------+
|快车道总结 |
+------+----------------+------------+
|步骤 |行动 |时间(秒) |
+------+----------------+------------+
| | appcenter_upload | 1 |
+------+----------------+------------+
[11:49:06]:fastlane 完成但有错误
正在 fastlane/fastlane 上寻找相关的 GitHub 问题...
➡️appcenter上传错误
https://github.com/fastlane/fastlane/issues/14907 [关闭] 1
5 天前
您可以 ⌘ + 双击链接直接在浏览器中打开它们。
/Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb:373:in get_app': [!] undefined local variable or method
owner' for FastlaneCore::Helper::AppcenterHelper:Class (NameError)
来自 /Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:173:in get_or_create_app'
from /Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:201:in
运行'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:256:in block (2 levels) in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in
execute_action'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:235:in block in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in
chdir'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:157:in
trigger_action_by_name'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/fast_file.rb:154:in method_missing'
from Fastfile:51:in
block in parsing_binding'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane.rb:33:in call'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:49:in
block in execute'
从 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in
execute'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane_manager.rb:56:in cruise_lane'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/command_line_handler.rb:36:in
handle'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in
call'
来自 /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in
run_active_command'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in
运行!'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:333:in run'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:41:in
start'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/bin/fastlane:23:in
'
来自 /Users/capgemini/.gem/bin/fastlane:22:in load'
from /Users/capgemini/.gem/bin/fastlane:22:in
'
当我尝试使用 Fastlane 将 iOS 应用分发到 appcenter 时,我收到类似 [!] undefined local variable or method `owner' for FastlaneCore::Helper::AppcenterHelper:Class (NameError) 的错误。
+--------+----------------+------------+ |快车道总结 | +------+----------------+------------+ |步骤 |行动 |时间(秒) | +------+----------------+------------+ | | appcenter_upload | 1 | +------+----------------+------------+
[11:49:06]:fastlane 完成但有错误
正在 fastlane/fastlane 上寻找相关的 GitHub 问题...
➡️appcenter上传错误 https://github.com/fastlane/fastlane/issues/14907 [关闭] 1 5 天前
您可以 ⌘ + 双击链接直接在浏览器中打开它们。
/Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/helper/appcenter_helper.rb:373:in get_app': [!] undefined local variable or method
owner' for FastlaneCore::Helper::AppcenterHelper:Class (NameError)
来自 /Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:173:in get_or_create_app'
from /Users/capgemini/.gem/gems/fastlane-plugin-appcenter-1.0.1/lib/fastlane/plugin/appcenter/actions/appcenter_upload_action.rb:201:in
运行'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:256:in block (2 levels) in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in
execute_action'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:235:in block in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in
chdir'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in execute_action'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:157:in
trigger_action_by_name'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/fast_file.rb:154:in method_missing'
from Fastfile:51:in
block in parsing_binding'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane.rb:33:in call'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:49:in
block in execute'
从 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in chdir'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in
execute'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane_manager.rb:56:in cruise_lane'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/command_line_handler.rb:36:in
handle'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in
call'
来自 /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in
run_active_command'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in
运行!'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:333:in run'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:41:in
start'
来自 /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/bin/fastlane:23:in
'
来自 /Users/capgemini/.gem/bin/fastlane:22:in load'
from /Users/capgemini/.gem/bin/fastlane:22:in
'