首页 > 解决方案 > Xcode 11 beta 中的配置文件错误

问题描述

我一直在 Xcode 10 中构建我的应用程序,Fastlane 一直在管理所有配置文件和证书以及所有内容。

在我的手机上安装了 iOS 13 测试版后,我安装了 Xcode 11 测试版,现在我收到错误消息:“Provisioning profile “match Development com.myapp.bundleId”不包括签名证书“​​Apple Development:My Name (ADFGLAUDFHB )”。

我害怕改变任何东西,以免弄乱我神奇的 Fastlane 设置或任何东西。希望有人知道该怎么做。谢谢!

标签: xcodefastlane

解决方案


Fastlane 支持版本为 2.132.0 的 Xcode 11 配置文件https://github.com/fastlane/fastlane/releases/tag/2.132.0

要生成新的配置文件,您必须核对现有的配置文件并使用这样的标志生成新的配置generate_apple_certs文件

fastlane match development --generate_apple_certs

或者如果在 fastfile 中使用类似这样的东西:

 match(app_identifier: [ENV["APP_ID_STAGING"]], type: "development", generate_apple_certs: true)

推荐阅读