应用程序因“缺少推送通知权利"而被拒绝 [英] App rejected because of "Missing Push Notification Entitlement"

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

问题描述

最近我的申请在上传时被拒绝了.Apple 审核团队说我的应用缺少推送通知权利"

Recently my application got rejected while uploading it. The Apple review team says my app is "Missing Push Notification Entitlements"

这是他们提供的信息:

缺少推送通知权利 - 您的应用程序向 Apple 推送通知服务注册,但应用程序签名的权利不包括所需的aps-environment"权利.确保您已为此应用启用推送通知服务,并且您已下载包含aps-environment"权利的分发配置文件.

Missing Push Notification Entitlement - Your app registers with the Apple Push Notification Service, but the application signature's entitlements do not include the required "aps-environment" entitlement. Make sure you have enabled Push Notification Services for this app, and that you have downloaded a Distribution provisioning profile that includes the "aps-environment" entitlement.

我的应用程序的早期版本曾经有推送通知,我的应用程序二进制文件从未因此被拒绝.我应该在这里做什么?

Earlier versions of my app used to have push notifications, and my app binary never got rejected due to that. What should I do here?

推荐答案

在任何文本编辑器中打开您的配置文件并搜索环境".

Open your Provisioning Profile in any Text Editor and search for "environment".

你应该找到:aps-environment

如果您在配置文件中没有看到 aps-environment,则您的 Apple 配置证书存在问题.

If you don't see aps-environment in your provisioning profile, there is an issue in your Apple provisioning certificate.

如果您创建了没有推送通知的证书,然后您添加了推送通知服务,Apple 不会更新您的配置文件.

If you created a certificate without push notifications, and then later on you added Push Notification service, Apple DOESN'T update your provisioning profile.

您需要创建一个新的配置文件.使用这个新的配置文件对二进制文件进行签名,然后你就可以开始了.

You need to create a NEW provisioning profile. Sign the binary with this new Provisioning Profile and you would be good to go.

这篇关于应用程序因“缺少推送通知权利"而被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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