ios – 权利不匹配:供应配置文件问题

前端之家收集整理的这篇文章主要介绍了ios – 权利不匹配:供应配置文件问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
使用 Xcode,我正在尝试将我的存档上传到App Store,我得到:

ERROR ITMS-90163: “Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile ‘aps-environment’ in ‘Payload/App Name.app/App Name’.”

然后下面给出了更多细节,确定:

The bundle contains a key that is not included in the provisioning profile: ‘com.apple.security.application-groups’ in Payload/App Name.app/App Name’.”

在这个版本中,我添加了“今日通知小部件”,iMessage贴纸和3D Touch支持.我认为通知数据共享(app-group)与我的问题有关.有谁知道如何解决它?

解决方法

我能够通过重置代码签名来解决这个问题(取消选中它,等待10秒,再次检查):

enter image description here

猜你在找的Xcode相关文章