ios - XCode 12.5 缺少权利 com.apple.developer.associated-appclip-app-identifiers

标签 ios swift xcode apple-appclips

将 Xcode 版本更新到 12.5 后,App Clip 出现问题。
在 App Store Connect 上传期间,我收到警告:TMS-90876: Missing entitlement - This app contains an app clip. The entitlement 'com.apple.developer.associated-appclip-app-identifiers' should be present and include the value of the app clip's application identifier.没有信息如何添加此权利
我尝试将“com.apple.developer.associated-appclip-app-identifiers”键添加到权利文件

<key>com.apple.developer.associated-appclip-app-identifiers</key>
<array>
    <string>{my_clip_bundle_id}</string>
</array>
但出现错误Provisioning profile "iOS Team Provisioning Profile: {my_bundle_id}" doesn't match the entitlements file's value for the com.apple.developer.associated-appclip-app-identifiers entitlement.

最佳答案

这似乎是苹果方面的一个错误。
您需要做的就是重新生成配置文件。
如果您使用 Automatically Manage Signing ,有办法欺骗XCode为您创建新的个人资料。转到项目目标 > Signing & Capabilities页面并添加一个新的 Capability (例如 Sign in with Apple )。这将强制重新生成配置文件。之后,您可以删除新添加的功能并上传新版本而不会出现任何警告。

关于ios - XCode 12.5 缺少权利 com.apple.developer.associated-appclip-app-identifiers,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67521532/

相关文章:

ios - AVAudioPlayer 不会为一个 mp3 播放音频,但会为其他 mp3 播放音频?

swift - 监控 OS X 上的应用程序切换

swift - 如何使用 Firebase 更新 CollectionView 模型?

适用于 Mac 10.6.7 的 Xcode(开发者工具)

ios - 彻底改变项目的身份

iphone - iOS 位置选取器

ios - iPhone 应用程序无法在 iPad 上运行

ios - 子类 UIView 有两个标签

ios - 在 iOS 上用多个正则表达式替换文本

swift - Swift 中的错误数字转换