iOS大咖说

Missing Push Notification Entitl

2018-11-13  本文已影响0人  BabyNeedCare

Dear Developer,

We identified one or more issues with a recent delivery for your app, "xxxx". 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

解决方案:

1. 找到Targets中的Build Settings选项卡中的Code Signing Entitlements,删除该项的值

2. 更新Entitlements,如有旧的,可移除,可能app名字更改或者其他原因有影响,细节处理请参照文章:https://www.aliyun.com/jiaocheng/373498.html

3. 重新生成provisioning profiles

4. 将下载的provisioning profiles导入Xcode signing

上一篇下一篇

猜你喜欢

热点阅读