xcode - 如何使用 faSTLane Fastfile channel 自动化 xcode clean 过程

标签 xcode fastlane fastfile

我正在寻找一种使用 faSTLate 自动化 xcode clean 过程的方法。

我希望实现的目标:

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

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

lane :clean do
  clear_derived_data
end

最佳答案

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

lane :cleanAndBuild do
  clear_derived_data
  gym( my_params )
end

关于xcode - 如何使用 faSTLane Fastfile channel 自动化 xcode clean 过程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47131203/

相关文章:

ios - 在 iOS 中使用圆形 slider 更改时钟值

ios - 在 CI 上使用 FaSTLane 进行代码签名的最佳方式

ios - FaSTLane 根据试飞中先前的内部版本号增加内部版本号

ios - 如何在 viewdidload() 中使用 CLLocation 的位置(纬度、经度)

xcode - 我不明白的随机 Xcode 错误

ios - 使用 faSTLane 构建带有通知扩展的 iOS 应用程序

ios - 应用商店连接 : automate releasing/updating app after submit for review with "Manually release this version"

xcode - 从 OS X 10.8 更新到 10.9 后出现错误 ITMS-9000 : Missing or invalid signature.

ios - 使用农产品时无法登录App Store Connect