在使用Fastlane将构建发送到iTunesConnect之前验证是否设置了应用程序图标

问题描述 投票:0回答:1

我在我的Fastfile中拥有此文件:

default_platform(:ios)

platform :ios do
  desc "Description of what the lane does"
  lane :qa do

    increment_build_number
    build_app(
        clean: true
    )
    verify_build(
       bundle_identifier: "xxx.com.fastlane-integration"
   )
   upload_to_testflight(skip_submission: true)
  end
end

事实是,如果我未设置应用程序图标,则构建仍会上传,然后会收到错误消息,提示该应用程序图标丢失,并且构建的发送将失败。

我想要的是,如果未设置任何应用程序图标,则完全不会触发构建。这可能吗?

ios swift fastlane
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.