IOS提交审核 错误Missing Push Notification Entitlement

Xcode上传IPA被退回的错误:

   Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file.

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

解决办法:Capabilities->将Push Nottificatons打开

 

posted @ 2017-11-14 16:07  围墙外的世界  阅读(1153)  评论(0编辑  收藏  举报