PGYER / fastlane-plugin-pgyer

Distribute app to pgyer beta testing service with fastlane!
http://www.pgyer.com
MIT License
61 stars 30 forks source link

pgyer() 上传报错 #25

Open Stephen-liangz opened 10 months ago

Stephen-liangz commented 10 months ago

我的 fastlane 配置如下:

 #
  lane :debug do
    desc "Build and upload iOS Debug to pgyer"
    gym(
      workspace: "Runner.xcworkspace", 
      scheme: "Runner",
      configuration: "Debug",
      export_method: "ad-hoc",
      clean: true,
      include_symbols: true,
    )
    notification(app_icon: './fastlane/icon.png', title: 'manager', subtitle: '打包成功,已导出安装包', message: '准备上传至蒲公英……')
    pgyer_upload
  end
  #
  lane :pgyer do
    pgyer_upload
  end

  private_lane :pgyer_upload do
    pgyer(api_key: "c7de8a678df33616f401ec287c132a76", update_description: "update by fastlane")
  end

fastlane 报错打印如下:

[14:37:54]: fastlane finished with errors
/opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2/codes.rb:59:in `value': stack level too deep (SystemStackError)
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2/codes.rb:41:in `to_s'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2/ascii_decorator.rb:64:in `join'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2/ascii_decorator.rb:64:in `decorate'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2.rb:26:in `surround_with_color'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/colored2-3.1.2/lib/colored2.rb:51:in `block (3 levels) in included'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:56:in `success'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:97:in `header'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
         ... 8609 levels...
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/gems/fastlane-2.214.0/bin/fastlane:23:in `<top (required)>'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/bin/fastlane:25:in `load'
        from /opt/homebrew/Cellar/fastlane/2.214.0/libexec/bin/fastlane:25:in `<main>'