【问题标题】:How to automate xcode clean process using fastlane Fastfile lane如何使用 fastlane Fastfile 通道自动化 xcode 清理过程
【发布时间】:2017-11-06 06:43:32
【问题描述】:

我正在寻找一种使用 fastlate 自动化 xcode 清理过程的方法。

我想要实现的目标:

  1. 清除派生数据文件夹
  2. 清理构建文件夹
  3. 干净
  4. 构建

到目前为止,我自动化了派生数据文件夹

lane :clean do
  clear_derived_data
end

【问题讨论】:

    标签: xcode fastlane fastfile


    【解决方案1】:

    你已经达到了 1,2 和 3,但是对于 4,你需要使用 Gym 它很容易使用,按照他的指南 https://docs.fastlane.tools/actions/gym/

    lane :cleanAndBuild do
      clear_derived_data
      gym( my_params )
    end
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-10-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-04
      • 2018-05-14
      相关资源
      最近更新 更多