How to remove push notification API

Hi there.


I was trying to submit one of my apps today with xcode7 (iOS9) for internal testing and I got this email from Apple:


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.


Not quite sure what to do with it. I use local notifications and nothing else. Do I still need to register with Apple's Push Notification Service (App ID enabled for Push Notification in the Provisioning Ports)???


I've deleted all references in AppDelegate.m to pushNotifications and do not use any other third-party framework but still get the same warning....


Anyone form Apple here that can shed some light on it???


Thanks


Frameworks used: CoreSpotlight, MobileCoreServices, AudioTool, Social, CoreData, SystemConfiguration, MessageUI, QuartzCore, Foundation, CoreGraphics, UIKit.

I have same problem i have to remove api for push notfication.

I got a response to say that Apple thought they'd fixed this issue, but our subsequent submissions are still showing the warning every time.


I submitted more info to Apple under DSI 627546201 but haven't got a further response yet.


The good news is that despite these warnings, we've not had any rejections from the app review team - so the warning can be safely ignored.

"I wonder if youve had any luck.


just got the same message.


The language is interesting,.....


"you may wish to correct the following issues in your next delivery:"

"If your app does not use the Apple Push Notification service, no action is required"


and yet


"After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect."


anyone had this message and still had their app approved??


Barlo

Yes, I've had several apps approved despite this message.


So long as you're not actually using push notifications, all should be okay.

How to remove push notification API
 
 
Q