XCode 12.5 缺少权利 com.apple.developer.related-appclip-app-identifiers [英] XCode 12.5 Missing entitlement com.apple.developer.associated-appclip-app-identifiers

查看:24
本文介绍了XCode 12.5 缺少权利 com.apple.developer.related-appclip-app-identifiers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将 Xcode 版本更新到 12.5 后,App Clip 出现问题.

After I updated Xcode version to 12.5 I have problem with App Clip.

在 App Store Connect 上传过程中,我收到警告:

During App Store Connect uploading I receive warning:

TMS-90876:缺少授权 - 此应用包含一个应用剪辑.权利com.apple.developer.associate-appclip-app-identifiers"应该存在并且包括应用剪辑的应用标识符的值.

没有关于如何添加此权利的信息

there is no information how to add this entitlement

我尝试将 'com.apple.developer.related-appclip-app-identifiers' 键添加到权利文件

I tried to add 'com.apple.developer.associated-appclip-app-identifiers' key to entitlements file

<key>com.apple.developer.associated-appclip-app-identifiers</key>
<array>
    <string>{my_clip_bundle_id}</string>
</array>

但出现错误

配置文件iOS 团队配置文件:{my_bundle_id}";与 com.apple.developer.associated-appclip-app-identifiers 权利的权利文件值不匹配.

推荐答案

这似乎是 Apple 方面的错误.

This seems to be a bug on Apple's side.

您需要做的就是重新生成配置文件.

All you need to do is regenerate the provisioning profiles.

如果您使用 Automatically Manage Signing,有一种方法可以欺骗 XCode 为您创建一个新的配置文件.转到项目目标 >签名&Capabilities 页面并添加一个新的 Capability(例如 Sign in with Apple).这将强制重新生成配置文件.之后,您可以删除新添加的 Capability 并上传新构建,而不会出现任何警告.

If you are using Automatically Manage Signing, there is a way to trick XCode to create a new profile for you. Go to Project Target > Signing & Capabilities page and add a new Capability (for example Sign in with Apple). This will force the regeneration of the provisioning profile. After that, you can remove the newly added Capability and upload a new build without any warnings.

这篇关于XCode 12.5 缺少权利 com.apple.developer.related-appclip-app-identifiers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆