如何使用 Fastlane 启用配置文件中的功能?

OLI*_*KOO 5 xcode code-signing code-signing-entitlements fastlane fastlane-match

我们的组织使用 Fastlane 来管理协同设计的东西。我们已经设置了 github 存储库并使用了一段时间。

对于 Xcode13,我们为我们的权利文件添加了时间敏感的用户通知功能。

  <key>com.apple.developer.usernotifications.time-sensitive</key>
  <true/>
Run Code Online (Sandbox Code Playgroud)

根据我的研究,我们似乎必须重新生成配置文件。我如何使用 Fastlane 实现这一目标?

使用sigh是正确的方法吗?我犹豫要不要采取任何行动,因为所有的 iOS 开发人员都共享证书 git repo,所以我非常谨慎。

OLI*_*KOO 2

以下内容对我有用

  1. 更新配置文件中的权利,登录 Apple 开发者网站并转到“证书、标识符和配置文件”部分。选择左侧的应用程序 ID,然后找到您要构建的应用程序的应用程序 ID。单击编辑按钮并打开时间敏感用户通知的权利(或您需要添加的任何内容)
  2. 运行 Fastlane match 以重新生成配置文件 fastlane run match type:"<enterprise or development>" git_branch:"<internal or production>" generate_apple_certs:"false" git_url:"<link to your fastlane cert repo>",然后按照提示进行操作。