Reputation: 9120
I got a email from itunes connect with the following message:
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.
But here is the funny thing I'm not using notifications it all. This what I have tried:
1.-I delete all the provisioning profiles manually and download them using Xcode (didn't work)
2.-I delete all the provisioning profiles manually and download from the apple developer portal (didn't work)
3.- I add it "DISABLE_PUSH_NOTIFICATIONS=1" to build settings (didn't work)
When I try to upload the app to itunes connect using Xcode is showing the provisioning profile XC:* I don't know if this has something to do with the Entitlement missing.
I as I said this app is not using push notifications on any way shape or form.
I'll really appreciate any pointers or work around this issue.
Upvotes: 2
Views: 1866
Reputation: 96
This is a bug from apple validator. Its coming from last 1 week. Read this blog https://forums.developer.apple.com/thread/11704#47536
If your application does not use notification then leave as it is. Apple will approve the app.
Upvotes: 5
Reputation: 7031
registerUserNotificationSettings
and see if anything pops up. If you're calling that API, the compiler is picking this up as a push notification app.Upvotes: 3