缺少推送通知授权 [英] Missing Push Notification Entitlement

查看:258
本文介绍了缺少推送通知授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个提交应用程序时,它得到了拒绝,我得到的消息

I have an app for submission when it got rejected and I got the message

缺少推送通知的权利 - 您的应用似乎登记
  与苹果的推送通知服务,但应用程序签名的
  权利不包括在APS-环境的权利。如果你的
  应用程序使用Apple推送通知服务,请确保您的应用程序ID是
  在配置门户推送通知启用,并重新提交
  与发行配置文件签署您的应用程序后
  包含了APS-环境的权利。

Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement.

我检查了我的即席provisiong在那儿,我发现了APS-环境和生产然而,当我打开我的发行配置的,我不觉得这样的。

I checked my ad-hoc provisiong and there I found aps-environment and production however, when I open up my distribution provisioning, I don't find such.

这是此错误消息和苹果拒绝的理由,我该怎么解决这个问题?

Is this the cause of this error message and apple rejection, how can I fix it?

推荐答案

是的,这是在App Store拒绝的理由。如果您的临时配置轮廓具有APS-环境的关键,它意味着您的应用程序在苹果供应门户正确配置。所有你需要做的就是删除App Store的分布曲线在本地机器上,然后重新下载并安装从Provisioning户的分布图。这种新的应该包含APS-环境的关键。

Yes, that's the cause of the App Store rejection. If your ad-hoc provisioning profile has the aps-environment key, that it means your app is configured correctly in the Apple Provisioning Portal. All you need to do is delete the App Store distribution profile on your local machine, then re-download and install the distribution profile from the Provisioning Portal. This new one should contain the aps-environment key.

这篇关于缺少推送通知授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆