目前,我想将开发的flutter应用上传到TestFlight。
上传成功,但我想在构建过程中跳过等待。
我添加选项skip_waiting_for_build_processing 设置为 true 并且不添加更改日志。
但是,在构建过程中不能跳过等待。
下面是我的fastlane脚本和开发环境。
如果有任何问题需要修复,请告诉我。或者,如果您知道同样的问题,请告诉我。
lane :beta_dev do
slack(
message: "Blah Blah",
slack_url: "Web hook url",
default_payloads: [:lane, :git_author, :last_git_commit_hash]
)
increment_build_number(xcodeproj: "Runner.xcodeproj")
build_app(scheme: "dev")
api_key = app_store_connect_api_key(
key_id: "KEY_ID",
issuer_id: "ISSUER_ID",
key_filepath: "KEY_FILE_PATH",
duration: 1200, # optional (maximum 1200)
in_house: false # optional but may be required if using match/sigh
)
pilot(api_key: api_key)
upload_to_testflight(skip_waiting_for_build_processing: true)
slack(
message: "Blah Blah",
slack_url: "Web hook url",
default_payloads: [:lane, :git_author, :last_git_commit_hash],
success: true
)
end
环境
快车道版本:2.219
操作系统:MacOS 14.2.1
我认为
upload_to_testflight
是 pilot
的别名,所以你应该将这两者合二为一。您目前已两次呼叫同一条车道。
来自 fastlane 文档:
pilot # “upload_to_testflight”的别名