【问题标题】:How do I resolve the Transporter error "The provisioning profile included in the bundle is invalid. [Missing code-signing certificate]"?如何解决 Transporter 错误“捆绑中包含的配置文件无效。[缺少代码签名证书]”?
【发布时间】:2021-12-22 16:01:34
【问题描述】:

我已成功构建、签名和归档我的应用程序!但是,当我尝试将其发送到 App Store Connect(我尝试使用 Transporter 和 Fastlane)时,我收到了以下错误:

ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.myapp [Payload/My App.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."

我确实在使用分发配置文件,并且我在进行构建的机器上拥有共同签名证书。我已经尝试从所有机器上删除它们,然后从 Apple Developer 重新下载它们,但这似乎并没有解决问题。

我也尝试删除并重新创建配置文件,但这似乎并未影响此问题。

【问题讨论】:

    标签: ios app-store-connect code-signing provisioning-profile


    【解决方案1】:

    我发现这是一个我不知道的强制 Bitrise 配置更改,即 quietly announced on their forum

    tl;dr Bitrise 更改了他们的 xcodebuild 步骤的配置,以便将 ExportMethod 设置为 development,而这需要将其设置为 app-store。我之前手动将其设置为app-store,但在升级过程中,升级过程将其重新设置为development。将其设置回 app-store 解决了我的问题。

    【讨论】:

      猜你喜欢
      • 2020-03-23
      • 1970-01-01
      • 1970-01-01
      • 2015-10-21
      • 1970-01-01
      • 2012-04-16
      • 1970-01-01
      • 1970-01-01
      • 2017-01-26
      相关资源
      最近更新 更多