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

查看:29
本文介绍了缺少推送通知权利:重新注册 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 来退出 ipa.

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

我们已经检查了所有场景,例如启用推送通知的 App Id、为分发生成的 SSL(是否也必须为开发人员开发?).

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 的以下邮件.请建议它的解决方案是什么

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

缺少推送通知权利 - 您的应用包含用于Apple 的 Push Notification 服务,但 aps-environment 权利应用程序的签名中缺少.要解决此问题,请确保您的为 Provisioning Portal 中的推送通知启用了 App ID.然后,使用分发配置文件签署您的应用程序包括 aps-environment 权利.这将创建正确的签名,然后您可以重新提交您的应用程序.请参阅供应和开发"在本地和推送通知编程指南中更多信息.如果您的应用程序不使用 Apple 推送通知服务,无需任何操作.您可以从未来删除 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 以获取以下键值

      just check Entitlements.plist for the following key values

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

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

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