IOS 打包出现Missing Push Notification Entitlement 问题解决方案
MissingPushNotificationEntitlement问题
最近打包上传是遇到一个问题:
描述:
MissingPushNotificationEntitlement-YourappincludesanAPIforApple'sPushNotificationservice, buttheaps-environmententitlementismissingfromtheapp'ssignature.Toresolvethis, makesureyourAppIDisenabledforpushnotificationintheProvisioningPortal.Then, signyourappwithadistributionprovisioningprofilethatincludestheaps-environment entitlement.Thiswillcreatethecorrectsignature,andyoucanresubmityourapp. See"ProvisioningandDevelopment"intheLocalandPushNotificationProgramming Guideformoreinformation.IfyourappdoesnotusetheApplePushNotificationservice, noactionisrequired.YoumayremovetheAPIfromfuturesubmissionstostopthiswarning. Ifyouuseathird-partyframework,youmayneedtocontactthedeveloperforinformationonremovingtheAPI. Afteryou'vecorrectedtheissues,youcanuseXcodeorApplicationLoadertouploadanewbinarytoiTunesConnect.
失踪的推送通知的权利。你的应用程序似乎包括API用来注册苹果推送通知服务,但应用程序签名的权利不包括“aps环境”的权利。如果你的应用程序使用了苹果推送通知服务,确保您的应用程序ID是支持推送通知在配置门户,并重新提交你的应用程序与签约后一个分布配置的简介,包括“aps环境”的权利。看到“配置和发展”,在当地和推送通知编程指南更多信息。如果你的应用程序不使用苹果推送通知服务,没有行动是必需的。你可以删除这个API。
如果你想更新你的这个应用程序,你可以拒绝这个二进制的二进制细节页面在iTunes的连接。请注意,你将把你的拒绝二进制程序的评审队列和审查过程将重新开始从一开始当你提交你的二进制。
根源是"App不需要推送,但创建的AppID有推送,且无推送证书",忽略这个警告即可,不影响审核,但影响推送.
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!