IOS上架提交审核遇到Missing Push Notification Entitlement的问题

昨天上架遇到这样的问题,收到邮件内容:

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.
Once the required corrections have been made, you can then redeliver the corrected binary.
Regards,
The App Store team

一、没有使用过通知,没有生成证书的

问题起因:这个版本我添加了PUSH推送功能,然后上传软件后,就提示Missing Push Notification Entitlement。

解决办法:我重新生成了一下Distribution 的provisioning 证书,然后重新提交了一下就OK了。

二、已经有证书的

1、重新Edit一下App id , 支持了APNS, 重新生成并下载Provistion,导入Xcode再修改一个Buid Setting的里的Code sign。还有,很容易很重要的一点: 重启你的Xcode !然后,重新Archive上传就可以了 。
(直接他跳到生成步骤的第二步)
2、重新做一下推送证书
3、如果有证书的话,可以忽略这个警告,可以上架,没问题的。

生成步骤

1)生成证书:
在苹果MemberCenter->Certificates->Production创建的证书类型选择了Apple Push Notification service SSL(Production);
生成证书
按照这个步骤生成证书。
2、生成配置文件
生成配置文件
选择证书生成配置文件
选择证书
更新配置文件,重启你的Xcode !然后,重新Archive上传就可以了 。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

WMSmile

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值