Missing Push Notification Entitlement warning from Appl

#1

After deploying a new standalone app built using Expo, I got the following warning. Is this a problem?

Dear developer,

We have discovered one or more issues with your recent delivery for “Champions League Fantasy Football”. 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.

Regards,

The App Store team

#2

Hmm. We do configure the aps-environment entitlement when we build your standalone app, so it’s odd that this message claims it’s not there.

@dikaiosune or @skevy is it possible that a recent builder upgrade changes something about the final app’s entitlements?

#3

If possible, can you paste the Expo build id from when you created the binary?

#4

@elie I know we chatted about this last week, but did you ever get this resolved?

#5

Hi,

Looking at it again now.

Elie

#6

Is this resolved? I’m facing the same problem on a detached app.

#7

Hi riwu,

You should use:
exp fetch:ios:certs

And download the dist cert.