Titolarità notifica push mancante

1

Quando si invia una recensione di una app, ho ricevuto il seguente messaggio:

Missing Push Notification Entitlement - Your app appears to include API used 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. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.

Ma non sono riuscito a trovare il modo in cui rimuovere il servizio Push Notification nel collegamento fornito.

Come faccio a rimuovere il servizio di notifica push dalla mia app?

    
posta Elia Weiss 21.10.2014 - 07:19
fonte

1 risposta

1

Apple probabilmente non rifiuterà la tua app su questa base, ti sta solo facendo sapere che stai facendo riferimento a un'API che non hai configurato alla fine di Apple.

Potresti provare a rimuovere i seguenti metodi da AppDelegate.m:

- (void) application:(UIApplication*)application
    didReceiveLocalNotification:(UILocalNotification*)notification

- (void) application:(UIApplication *)application
   didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken

- (void) application:(UIApplication *)application
    didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
    
risposta data 27.10.2014 - 09:26
fonte

Leggi altre domande sui tag