iOS版缺少推送通知授权警告 [英] iOS Missing Push notification Entitlement warning

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

问题描述

在我们的应用程序,我们不使用推送通知,我们没有启用标识符推送通知。我们创建关闭推送通知的分布图,并提交应用程序商店。但我们得到了在邮件正文(下检查)。

In our app we don't use push notification, we did not enable the push notification in identifier. we create the distribution profile with disable push notification and submit on app store. but we got text(check below) in mail.

- >什么是获得此类邮件的原因是什么?
- >是否有分布曲线的任何问题。

-> What is the reason for getting this kind of mail? -> Is there any issue in distribution profile?

给我的解决方案。

缺少推送通知授权 - 您的应用似乎包括用于与苹果推送通知服务注册API,但应用程序签名的权利不包括在APS-环境的权利。如果应用程序使用苹果的推送通知服务,请确保您的应用程序ID是在配置门户推送通知启用,并与包括APS-环境的权利一个发行配置文件签署您的应用程序后,重新提交。请参阅部署与发展在本地和推送通知编程指南以获取更多信息。如果您的应用程序不使用苹果的推送通知服务,则不需要任何操作。您可以从未来的报告中删除API来阻止这种警告。如果使用第三方框架,你可能需要联系的信息,开发商上删除API。

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.

您已经纠正了这些问题后,您可以使用X code或应用程序加载器来上传新的二进制到iTunes连接。

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

推荐答案

有一些第三方像airpush或urbanairship等框架,与出偶偶使用任何服务器来发送通知,宣布它的appdelegate或没有注册您的应用程序的pushnotification 。
因此,请您使用的是确保任何框架,它不能使用任何pushnotification过程。

There are few third parties framework like airpush or urbanairship etc that register your app for pushnotification with out even declaring it on appdelegate or without even using any server to send notification. So make sure whatever framework you are using it must not be using any of the pushnotification process.

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

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