iOS-OC-提交审核:Missing Push Notification Entitlement

来源:互联网 发布:手机劫持软件 编辑:程序博客网 时间:2024/04/27 09:20

上传我提交一个APP,然后苹果开发者中心给我发邮件,内容如下:

<span style="font-size:18px;">Dear developer,We have discovered one or more issues with your recent delivery for "***我提交APP的名称***". Your delivery was successful, but you may wish to correct the following issues in your next delivery: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.After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.Regards,The App Store team</span>

原因是应为这个APP开始没有打开推送功能,后来因为产品需要,我加了极光推送,但是打包的时候,我本地的
provisioning证书还是以前旧的,没有push功能,我忘记重新生成新的provisioning证书了,遇到这个问题大家只需要生成一个新的provisioning证书,重新打包上传一下就好了!

0 0
原创粉丝点击