首页 > 解决方案 > fastlane 创建的 .cer 和 .mobileprovision 文件是否应该存储在 git 中?

问题描述

我正在fastlane用来部署我的 iOS 应用程序,并且也刚刚开始使用match。部署后,在我的项目目录的根目录下是.cer.mobileprovision文件。

这些是否应该提交到项目 git 存储库?还是会在我构建的每台机器上创建它们?

更新:我认为我的 beta 通道定义是错误的,尽管我已经使用它部署了 2 个构建。它看起来像这样:

lane :beta do
    # match(type: "appstore")
    get_certificates  
    get_provisioning_profile

    gym(scheme: "MyApp Release")
    pilot
    changelog_from_git_commits
 end

会使用匹配并删除get_certificatesget_provisioning_profile影响正在发生的事情吗?

标签: xcodegitfastlanefastlane-match

解决方案


推荐阅读