Missing Push Notification Entitlement

drunk
2018-05-29 10:21 2.8k 0

###Missing Push Notification Entitlement
####折腾了一周, 实在搞不定了
Dear Developer,

We identified one or more issues with a recent delivery for your app, "微窝房产". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

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. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Best regards,

The App Store Team

https://community.jiguang.cn/question/36060

这个帖子也看过了, capabilitiespush notification也是开启的, 所有证书也全都重新配置过好多次了, 极光推送里的证书配置也同步重配了好多次, 一直都没搞定, 实在没辙来这求助了

####XCODE

####APP ID

jpush

现在的情况是开发环境可以正常注册, 正常接收通知, 打包上传到应用商店苹果会发送上述issues邮件, 且发布后的应用无法正常注册, 无法接收通知, 希望有大神帮忙找到问题所在, 解决燃煤之急. 在这先谢谢了!

1个回答

热门排序
  • but the app signature's entitlements do not include the "aps-environment" entitlement. 根据这个检查,特别是最后一点https://community 展示全部