Missing Push Notification Entitlement

Although I do not use API used to register with Apple Push Notification service, I receive an email with header - Missing Push Notification Entitlement - after uploading my archive. What should I do ?

Answered by gc. in 259728022

Hi,


The app validator checks for an implementation of the UIApplicationDelegate method application:didRegisterForRemoteNotificationsWithDeviceToken: in the app. You’ll get the warning if your app delegate implements that method and there is no aps-environment entitlement.


It's possible that a third-party library your app uses has implemented that method even though your app doesn't do anything with push notifications. In that case you can just ignore the warning. It's there to let developers who do use push notifications know that they might have signed their app incorrectly.


The only way to eliminate the warning is to remove all push notification code from your app, whether yours or a third party's.


--gc

I have the exact same problem. I received the email, I researched how to fix the error, re-generated mobile provisions and distribution certificates and it doesn not seem to go away. I'm using phonegap to generate my binary. It's so annoying! Can anyone help?

hi, same thing happening here.. i don't use push notifications in my game, i don't see why any of the frameworks i've pulled in would do either ! but i get this 'missing' email over and over. I just made a whole new certificate and distribution profile and tried that.. same error again !!


it would be nice if there was a conclusive fix for this. I've seen dozens of posts about it, but none that offer a definite fix 😟


any ideas????

Accepted Answer

Hi,


The app validator checks for an implementation of the UIApplicationDelegate method application:didRegisterForRemoteNotificationsWithDeviceToken: in the app. You’ll get the warning if your app delegate implements that method and there is no aps-environment entitlement.


It's possible that a third-party library your app uses has implemented that method even though your app doesn't do anything with push notifications. In that case you can just ignore the warning. It's there to let developers who do use push notifications know that they might have signed their app incorrectly.


The only way to eliminate the warning is to remove all push notification code from your app, whether yours or a third party's.


--gc

Missing Push Notification Entitlement
 
 
Q