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

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

问题描述

我有一个应用程序在被拒绝并收到消息时要提交

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

缺少推送通知权利 - 您的应用似乎已注册使用 Apple 推送通知服务,但应用程序签名的权利不包括aps-environment"权利.如果你的应用程序使用 Apple 推送通知服务,请确保您的应用程序 ID 是在 Provisioning Portal 中启用推送通知,然后重新提交使用分发配置文件签署您的应用程序后包括aps-environment"权利.

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.

我检查了我的临时配置,在那里我找到了 aps-environment 和 production,但是当我打开我的分发配置时,我没有找到.

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-environment 密钥,则意味着您的应用程序已在 Apple Provisioning Portal 中正确配置.您需要做的就是删除本地计算机上的 App Store 分发配置文件,然后从 Provisioning Portal 重新下载并安装分发配置文件.这个新的应该包含 aps-environment 密钥.

Yes, that's the cause of the App Store rejection. If your ad-hoc provisioning profile has the aps-environment key, 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天全站免登陆