问题描述
在过去几周测试我的应用后,我们终于尝试将应用提交到应用商店.在提交之前,我想设置我的生产推送通知.我去安装了用于生产的配置文件,并将其设置在 XCode 构建区域的代码标识符中,并启动了应用程序,希望生产推送通知能够正常工作.
After testing my app for the past couple weeks we're finally trying to get the app submitted to the app store. Prior to submitting, I wanted to get my production push notifications set up. I went and installed my provisioning profile for production set it in my code identifiers in the XCode build area and launched the app hoping that the production push notifications would work.
我现在遇到的第一个问题是,无论我在代码标识符中选择什么配置文件,我都会得到以下错误代码:
The first problem that I'm running into now, is that no matter what provisioning profile I select in the code identifiers, I end up with these error codes:
<Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'aps-environment' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'com.apple.developer.ubiquity-kvstore-identifier' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'keychain-access-groups' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'aps-environment' has value not permitted by a provisioning profile
Aug 29 22:12:58 unknown amfid[349] <Error>: entitlement 'application-identifier' has value not permitted by a provisioning profile
我已经尝试找出问题几个小时,但没有找到解决方案.我希望有人可以帮助缩小解决方案的范围
I've been trying to figure out the problem for hours and have found no solutions. I was hoping someone out there could help narrow down a solution
推荐答案
如有必要,请尝试从 Xcode(在管理器中)和配置网站中删除所有配置文件,然后按照 本指南创建新的.
Try removing all your provisioning profiles from Xcode (in the organizer) and the provisioning website if necessary, then follow this guide to create new ones.
这篇关于授权具有配置文件错误不允许的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!