当我尝试使用Fastlane将iOS应用分发到appcenter时,出现诸如[!]未定义的本地变量或FastlaneCore :: Helper :: AppcenterHelper:Class(NameError)的方法“所有者”的错误。
+ ------ + ------------------ + ------------- + | fastlane摘要| + ------ + ------------------ + ------------- + |步骤|动作|时间(以秒为单位)| + ------ + ------------------ + ------------- + | ?| 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:在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
中的parsing_binding中的'
来自/Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane.rb:33:在call'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:49:in
中执行块
来自/Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:在chdir'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in
中执行'
来自/Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane_manager.rb:56:在cruise_lane'
from /Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/command_line_handler.rb:36:in
中处理'
从/Users/capgemini/.gem/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:108:在block (2 levels) in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in
中致电
来自/Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:在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:在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
开始
来自/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
'