没有有效的“APS-环境”的权利字符串 [英] no valid 'aps-environment' entitlement string
问题描述
我已经搜索在谷歌和堆栈溢出,但我无法来解决这个问题。
I've searched on Google and Stack Overflow, but I'm unable to resolve this problem.
我的应用程序有一个即席和苹果商店供应型材,它们都给予错误没有有效的APS-环境的权利字符串中找到应用程序,在我的X code控制台,我无法发送推送通知。到目前为止,我所采取的步骤是:
- 在发展门户网站编辑的配置文件,下载新的配置文件,并视察了.mobliprovision文件。找到
My app has an AdHoc and Appstore provisioning profiles, both of which are giving the error "no valid 'aps-environment' entitlement string found for application" in my X Code console, and I'm unable to send push notifications. So far the steps I've taken are: - edited profile in development portal, downloaded new profile and inspected the .mobliprovision file. Found
APS-环境:生产
获得任务,允许:假
aps-environment: production get-task-allow : false
我提交它到App Store,无论如何,它通过验证,它正在等待审核。当我检查在iTunes Connect的门户网站二进制的细节,我可以说SES APS-环境问题被列为生产以及
I submitted it to the App store anyway, and it passed validation and it is awaiting review. When I inspect the binary detail in iTunes Connect portal, I can ses that aps-environment is listed as "production" as well
还有什么我做错了?
推荐答案
在您生成从应用程序ID推证书你正在使用你创建供应配置文件?
Did you create the provisioning profile AFTER you generated the push certificates from the Application ID you are using?
这很可能你创建的供应配置文件,然后再产生推证书。
It is very likely you created the provisioning profile first and then generated the push certificates.
有关备查PushIO有一个方便的一步一步的指导,以创建包含有关警告一个PEM文件生成重新调配轮廓生成PEM证书后:
For future reference PushIO has a handy step-by-step guide to creating a PEM file that includes the warning about re-generating the provisioning profile after generating the PEM certificate :
的http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCFA/ios/distribution-pem/
这篇关于没有有效的“APS-环境”的权利字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!