fastlane 匹配与 Azure DevOps 管道的集成

fastlane match integration with Azure DevOps pipelines

我们正在使用 Azure DevOps 构建我们的 ios 应用程序,因此我们正在使用 xcode 构建应用程序,现在我们想要签署应用程序以将其部署到应用中心或试飞所以我们有一个问题,我们将我们的证书保存在安全文件夹中但是当每个月我们的证书都过期并且管道签名部分失败直到我们将更新的文件上传到安全文件部分所以事情是每个月份证书与苹果帐户不同步。

所以在我们的本地环境中,我们使用匹配的 fastlane 来自动续订证书并构建代码和 sigin,所以我们想将 fastlane 与 azure devops 集成,但没有找到任何有用的文章可以帮助我关于这个。

或者任何解决此问题的解决方法都可以使 azure 管道与 apple 帐户同步,而无需手动将证书上传到安全文件。

谢谢...

fastlane match integration with Azure DevOps pipelines

有一个扩展 Apple App Store, which install and use fastlane tools or we could find instructions on installing fastlane through a package manager

安装 fastlane 工具后,我们可以使用 fastlane 的匹配操作来管理您的 iOS 证书。

您可以查看此文档 Continuous integration and delivery with Team Services and App Center 了解更多详细信息。

此外,关于在安全文件部分手动更新,我们还有其他 API 添加安全文件:

POST
https://dev.azure.com/{organization}/{project}/_apis/distributedtask/securefiles?api-version=5.0-preview.1&name={fileName}

因此我们可以通过编程方式将本地证书上传到安全文件。请参考 this link 获取 Powershell 脚本示例以使用 Rest API.