I uploaded my app to the AppStore and I received an email stating that I am "Missing Push Notification Entitlement". I am not using push notifications, but I am using local background notifications.
Your delivery was successful, but you may wish to correct the following issues in your next delivery:
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.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team>
It's Just a warning in case you intended to use push notifications and have forgotten the entitlement, if you do not require push notifications then you can ignore the warning.
If you do want to use push notifications however, you will need to add the relevant sections and permissions to your tiApp.xml file
You may still need to register your intent for notifications as per
this guide
If you are getting such email there might be the reason i listed below:
It might be because App Id you have used for this App in that You have enabled Push Notification.
So what happen with that is if you enable Push notification in App id & it will be not used in the App, They will expect it to be used once you enable.
If such issue i mentioned than you should edit App Id & disable Push notification.
I hope it will guide you.
Related
i'm using the OneSignal API for Push Notifications in an Cordova App. My android is receiving notifications, but the iPhone isn't and i'm receiving this e-mail:
Dear developer,
We have discovered one or more issues with your recent delivery for
"----". Your delivery was successful, but you may wish to
correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app includes an API for
Apple's Push Notification service, but the aps-environment entitlement
is missing from the app's signature. To resolve this, make sure your
App ID is enabled for push notification in the Provisioning Portal.
Then, sign your app with a distribution provisioning profile that
includes the aps-environment entitlement. This will create the correct
signature, and you can resubmit your app. 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.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Regards,
The App Store team
My App ID is enabled for push notifications and i really don't understand why it isn't working.
You need to enable "Push Notifications" in your project settings. Check attached the screenshot.
Apple keeps sending me the same error:
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.
I've been trying to submit my app to the app store but it keeps getting rejected. I've looked at all the other SO questions/answers but I can't seem to get it to work even though I keep regenerating the provisioning profile. I am not even using push notifications at all.
Not using push:
Generating my profile called Coaster Profile
And using that profile when submitting to the app store:
I even tried adding the DISABLE_PUSH_NOTIFICATIONS variable:
But nothing is working. I never even used push notifications. Please help!! I'm using xcode + objective c
In my app I use Social.framework to post on facebook. When I sent my app for review to Apple I got this reply.
We have discovered one or more issues with your recent delivery for
"****". Your delivery was successful, but you may wish to correct the
following issues in your next delivery:
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.
After you’ve corrected the issues, you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.
Has anybody any idea of what I should do? I don't use push notifications, I just post to Facebook.
Social framework provides simple interface for accessing the user’s social media accounts. Like twitter , Facebook , Sina Weibo etc.
And to use the social framework you don't need Push notifications.
As you said you didn't use push notifications, then go to developer.apple.com and check that your APP ID must not enabled the Push Notifications and check your provisioning profiles.
And if you are using some kind of library or API which may be registered with Apple push notifications then make your you have make the proper settings for enabling the PUSH NOTIFICATIONS.
I am using a third party library which has code for push notifications. But in our code, we don't have anything related to push notifications. So my profile is not enabled with APNS. When I try to push this to iTunes Connect for BETA TESTING, I'm getting below email from Apple. My question now is CAN I SUBMIT MY APP WITH APNS ENABLED even when I am not using push notifications? Will Apple reject my app if I do so?
Dear developer, We have discovered one or more issues with your recent
delivery for "Myapp Beta". Your delivery was successful, but you may
wish to correct the following issues in your next delivery: 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. After you’ve corrected
the issues, you can use Xcode or Application Loader to upload a new
binary to iTunes Connect. Regards, The App Store team
1) Click on your project in Xcode (near the upper left hand corner of Xcode)
2) then click on Capabilities (near the top in the middle of Xcode)
3) Scroll down to Background Modes and expand to reveal the modes
4) Select Remote Notifications.
Doing this will give you the push entitlement and therefore the app submission should be ok.
Apple won't know you are not actually making use of push notifications, they will just be running a tool which detects you have push notification handling code in the app but don't have the push entitlement. Doing the above 4 steps should add the entitlement.
Hopefully that should be enough, however you may also need to enable push notifications in your provisioning profile. That's easy to do, the best overall guide to push which tells you how to do that is here:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
Is it possible to check application for using push notifications api? I removed push notifications from the app, but my app rejected with the following warning:
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.
So As I understand I should:
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.
Is is possible to check for the api?
I had a similar issue but with a Cordova App on iOS, ignoring the warning could cause a future app reject with no advice so I suggest to solve it. This post helped me.
I hope this helps you too.