App rejected because of "Missing Push Notification Entitlement" App rejected because of "Missing Push Notification Entitlement" ios ios

App rejected because of "Missing Push Notification Entitlement"


Open your Provisioning Profile in any Text Editor and search for "environment".

You should find: aps-environment

If you don't see aps-environment in your provisioning profile, there is an issue in your Apple provisioning certificate.

If you created a certificate without push notifications, and then later on you added Push Notification service, Apple DOESN'T update your provisioning profile.

You need to create a NEW provisioning profile. Sign the binary with this new Provisioning Profile and you would be good to go.


I have recreated my Distribution provisioning profile and build my application with it. This change fixed the issue of Missing Push Notification Entitlements.


If you are submitting a Cordova / Phonegap project and you are NOT using push notifications, you should inspect Classes/AppDelegate.m for the two methods below. Observed in Cordova 3.7.0, not sure about other versions.

Make sure you are not using remote notifications in any other way (carefully check your plugins as well). Then remove or comment out the following block:

- (void) application:(UIApplication*)application    didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken{    // re-post ( broadcast )    NSString* token = [[[[deviceToken description]        stringByReplacingOccurrencesOfString:@"<" withString:@""]        stringByReplacingOccurrencesOfString:@">" withString:@""]        stringByReplacingOccurrencesOfString:@" " withString:@""];    [[NSNotificationCenter defaultCenter] postNotificationName:CDVRemoteNotification object:token];}- (void) application:(UIApplication*)application    didFailToRegisterForRemoteNotificationsWithError:(NSError*)error{    // re-post ( broadcast )    [[NSNotificationCenter defaultCenter] postNotificationName:CDVRemoteNotificationError object:error];}

Hope this saves you a few hours ;-)