首页 > 解决方案 > Xcode 找不到任何与“应用程序扩展的捆绑 ID”签名问题匹配的 iOS App Store 配置文件

问题描述

当我尝试使用 XCode 12.1 自动管理存档的签名时。我收到与我的应用扩展相关的错误消息。以前没有问题(使用早期的 XCode 版本),我没有改变任何东西。错误如下:

Failed to register bundle identifier The app identifier 'bundle id for app extension' cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again.

No profiles for 'bundle id for app extension' were found
Xcode couldn't find any iOS App Store provisioning profiles matching 'bundle id for app extension'.

扩展的捆绑包 id 是正确的,并以应用程序的捆绑包 id 开头。就像是:

id.bundle.app
id.bundle.app.extension

这很奇怪,因为配置文件在那里并且与以前相同。

在此处输入图像描述.

当我签署一个扩展时,我使用的是通配符。配置文件是最新的。我还尝试从头开始重新创建所有配置文件,但没有帮助。同时在 XCode 中启用了自动管理签名并且没有错误。

可能是什么问题?

UPD。如果我手动签名并在签名时选择通配符它可以工作,但奇怪的是它不适用于自动签名。

标签: iosobjective-cswiftxcodecode-signing

解决方案


我终于找到了问题所在。问题是我没有为我的贴纸扩展创建标识符,当我使用签名时,我使用了通配符。在我将 XCode 更改为更新版本之前,它一直运行良好。

所以,为了解决这个问题,我使用正确的命名为贴纸扩展创建了一个标识符

id.bundle.app
id.bundle.app.extension

推荐阅读