IOS 缺少推送通知权利 [英] IOS Missing Push notification entitlement

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

问题描述

Apple Store 的消息非常混乱.

The Apple Store messages are very confusing.

在我的 Corodova 应用程序中,我使用了来自 GITHUB 的第三方推送通知服务和 API,而不是 Apple 推送通知服务.

In my Corodova App, I was using Third Party Push Notification Service and API from GITHUB, instead of Apple Push Notification Service.

在设置证书、APP IDentfiers 和配置文件时,为了使用 XCODE 构建应用程序,我没有选择推送通知".

While setting certificates, APP IDentfiers and provisioning profile, for building the App with XCODE, I did not select "Push Notification".

构建并上传到存储并保存在:

Built and Uploaded to store and HELD UP at:

缺少推送通知权利 - 您的应用似乎包括用于注册 Apple 推送通知服务的 API,但应用签名的权利不包括aps-environment"权利.如果您的应用程序使用 Apple 推送通知服务,请确保您的应用程序 ID 在配置门户中启用推送通知,并在使用包含aps-environment"权利的分发配置文件对您的应用程序进行签名后重新提交.有关详细信息,请参阅本地和推送通知编程指南中的供应和开发".如果您的应用程序不使用 Apple 推送通知服务,则无需执行任何操作.您可以从以后的提交中删除 API 以停止此警告.如果您使用第三方框架,您可能需要联系开发者获取有关移除 API 的信息.更正问题后,您可以使用 Xcode 或 Application Loader 将新的二进制文件上传到 iTunes Connect.

Missing Push Notification Entitlement - Your app appears to include API used 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. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API. After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

<小时>

现在我很困惑....


Now I am confused....

它说,如果您的应用不使用 Apple 推送通知服务,则无需采取任何措施."

It says, "If your app does not use the Apple Push Notification service, no action is required."

好的....然后您可以从以后的提交中删除 API 以停止此警告."为什么我要从我的应用程序中删除第三方的 API???此消息并未引导我找到任何解决方案.

Alright.... Then "You may remove the API from future submissions to stop this warning." Why should I remove the API of third party from my application??? This message is not leading me to any solution.

现在,我在证书、应用标识符和配置文件中选择了推送通知"并重新构建了应用并再次提交.

Now this time, I chose the "Push Notification" in Certificates, App Identifiers and Provisioning Profile and rebuilt the APP and Submitted again.

我做对了吗,我做对了吗?

Did I do right, Am I doing Right?

推荐答案

是的.你这样做是错的.
来自 App Store 审核指南:

Yes. You're doing it wrong.
From the App Store Review Guidelines:

5.1 提供推送通知而不使用 Apple 推送通知 (APN) API 的应用将被拒绝

5.1 Apps that provide Push Notifications without using the Apple Push Notification (APN) API will be rejected

如果您还没有阅读过本文档,我建议您阅读一下.

If you haven't read this document, i encourage you to read it.

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

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