iOS App上傳後收到:Missing Push Notification Entitlement

在上傳 iOS App 專案到 iTunes connect 之後收到一封信,內容如下:

Dear Developer,

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

但我沒有設定任何通知的功能在我的 App 裡面,所以就查了一下,發現很多人都遇到一樣的問題。

如果你也遇到了,不用擔心,這似乎只是 apple 的一個例行性的提醒,並不是上傳被拒絕,等待平台處理完你上傳的檔案之後,一樣可以直接申請審核,不會有問題的。

 

螢幕快照 2018-06-20 下午5.34.20

發表留言