缺少推送通知权利:重新注册ipa时 [英] Missing Push Notification Entitlement: While Resigining ipa

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

问题描述

团队

我们正在为我们的项目发布新的更新,在上一个版本中,我们没有推送通知,现在正在实现所有过程.

We are releasing new update to our project, In the last version we dont have Push Notifications now are implementing all the process.

我们为曾经使用分发配置文件发送ipa文件的客户端工作(推送通知适用于我们要发送的ipa).

We work for a client where we used to send ipa file with our distribution profile (Push notifications are working for the ipa we are sending).

一旦我们发送了有效的IPA,他们将在其中分发配置文件并将其上传到AppStore处辞职.

Once we send the working ipa, they will resign the ipa with there Distribution Profiles and Upload to appstore.

我们已经检查了所有情况,例如通过推送通知启用的应用程序ID,为分发生成的SS1(是否也对开发人员强制执行?).

We have checked all the scenarios like, App Id enabled with Push Notification,SSl generated for Distribution (Is it mandatory for developing for developer also?).

辞职成功,我们可以将应用程序上传到App Store.

The Resigning is successfull and we are able to upload the app to App Store.

但我们仍然从Apple收到"Below"邮件.请提出解决方案

But still we are getting the Below mail from Apple. Please Suggest what is the Solution for it

缺少推送通知权利-您的应用程序包含一个API,用于Apple的Push Notification服务,但aps-environment的权利该应用程序的签名中缺少该字符.要解决此问题,请确保您的在预配门户中启用了用于推送通知的应用程序ID.然后,使用分配配置文件对您的应用进行签名,包括aps环境权利.这将创建正确的签名,然后您可以重新提交您的应用.请参阅配置和本地和推送通知编程指南中的开发"更多信息.如果您的应用程序不使用Apple Push Notification服务,无需采取任何措施.您将来可能会删除该API提交以停止此警告.如果您使用第三方框架,您可能需要与开发者联系以获取有关删除API.

Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. 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.

推荐答案

  • 您必须检查是否已在成员中启用推送通知

    • You have to check if you have enabled push notifications in member center for the provisioning profile that you are using

      您必须检查是否已在xcode中启用了推送通知功能

      You have to check if you have enabled push notifications in xcode capabilities

      只需检查 Entitlements.plist 中的以下键值

       <key>aps-environment</key>
          <string>production</string>
      

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

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