"发现申请和QUOT没有有效的APS-环境的权利; [英] "no valid aps-environment entitlement found for application"
本文介绍了"发现申请和QUOT没有有效的APS-环境的权利;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到时,我装我的推送通知特设构建这个错误使iPhone应用程序到我的设备:
I am encountering this error when I am loading an Ad Hoc build of my Push Notification enabled iPhone app onto my device:
发现应用程序没有有效的APS-环境权利
no valid aps-environment entitlement found for application
这是什么意思,我该如何修复呢?
What does it mean, and how do I repair it?
推荐答案
我找到了解决办法。在根据建立我的项目信息> code签署身份我不得不将它设置为自动的,它选择哪些没有启用推送通知即席分布曲线。 (这是错误的。)我已经选择了正确的配置文件和错误消失。
I found the solution. In my project info under Build > Code Signing Identity I had it set to automatic, and it was selecting an AdHoc distribution profile which did not have push notifications enabled. (It was the wrong one.) I have selected the correct profile and the error is gone.
这篇关于"发现申请和QUOT没有有效的APS-环境的权利;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文