ios – Lacking Push Notification Entitlement – growth

Spread the love


Good day,

I’ve developed greater than 18 apps in Unity the place I take advantage of native notifications. Nonetheless, I’ve disabled Push/Distant notifications.

Once I construct an app for TestFlight, I obtain a warning stating
ITMS-90078: Lacking Push Notification Entitlement, regardless that I’ve turned it off within the shopper and in App Retailer Join. This concern is happening in 6 of my apps.

Right here is the complete textual content of the warning: Expensive Developer,

We recognized a number of points with a latest supply to your app,
“puzzle video games” 2.18 (345). Your supply was
profitable, however you might want to right the next points in your
subsequent supply:

ITMS-90078: Lacking Push Notification Entitlement – Your app seems
to register with the Apple Push Notification service, however the app
signature’s entitlements don’t embody the ‘aps-environment’
entitlement. In case your app makes use of the Apple Push Notification service,
ensure your App ID is enabled for Push Notification within the
Provisioning Portal, and resubmit after signing your app with a
Distribution provisioning profile that features the ‘aps-environment’
entitlement. Xcode doesn’t robotically copy the aps-environment
entitlement from provisioning profiles at construct time. This conduct is
intentional. To make use of this entitlement, both allow Push Notifications
within the challenge editor’s Capabilities pane, or manually add the
entitlement to your entitlements file. For extra info, see
https://developer.apple.com/library/content material/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

After you’ve corrected the problems, you’ll be able to add a brand new binary to App
Retailer Join.

Finest regards,

The App Retailer Crew

Whereas I’m conscious that this warning could be ignored, I want to repair it as it isn’t occurring in most of our apps. Here is what I’ve tried to this point:

I turned off Push notifications from Notification in PlayerSettings.
I checked the capabilities in Xcode, the place solely “In-app buy” was enabled.
I checked information.plist, all keys associated to distant are set as false.
I checked Preprocessor.h for this line:

#outline UNITY_USES_REMOTE_NOTIFICATIONS 0

Regardless of these actions, there was no change. I’m nonetheless receiving this warning.

Leave a Reply

Your email address will not be published. Required fields are marked *