在上载到TestFlight时,Fastlane收到“ train_version不再是FastlaneCore上使用的参数”的消息

时间:2019-06-12 15:17:00

标签: testflight fastlane

我正在使用Fastlane版本2.125.2。 使用以下通道:

lane :beta do
  # increment_build_number
  sync_code_signing(type: "appstore")
  build_app(workspace: "myapp.xcworkspace", scheme: "myapp")
  dsym_name = Time.new.strftime('%Y.%m.%d.%H.%M')
  dsym_zip(dsym_path: "./myapp.#{dsym_name}.app.dSYM.zip")
  upload_symbols_to_crashlytics(
    dsym_path: "./myapp.#{dsym_name}.app.dSYM.zip",
    gsp_path: "./myapp/App/GoogleService-Info.plist")
  upload_to_testflight
  slack_success_message
end

Fastlane将IPA上载到TestFlight,但在脚本结尾处收到一条消息:

train_version is no longer a used argument on FastlaneCore::BuildWatcher. Please use :app_version instead.

它是这样的: enter image description here

1 个答案:

答案 0 :(得分:1)

这似乎是快速通道中的错误,请在https://github.com/fastlane/fastlane/issues处打开问题,并填写问题模板要求的所有信息。谢谢!