"Missing Push Notification Entitlement" warning-----and workaround

Source: Internet
Author: User

Recently developed Cordova application, to do the adaptation of iOS, and release version, but once in the beta release, suddenly received an email warning, the original text is as follows:

Missing Push Notification Entitlement-Your app appears to include API used to register with the Apple Push Notification service, but the app signature ' s Entit Lements does not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your app ID are enabled for Push Notification in the Provis Ioning Portal, and resubmit after signing your apps with a distribution provisioning profiles that includes the "Aps-environ ment "entitlement. See "Provisioning and development" in the Local and Push Notification Programming Guide for more information. If your app does not with the Apple Push Notification Service, no action is required. You could remove the API from the future submissions to stop this warning. If you use a third-party framework, you can need to contact the developer for information on removing the API. Look, though the hint could be ignored , the official website also mentioned, does not affect the approval of the passage, but for the people with obsessive-compulsive disorder, always receive such mail, every send once there will be a warning, the heart always feel a bit uncomfortable!nonsense not much to say, directly on the solution:First Look at the mail to know the problem, your app IDs opened the push notification function, that is, push, but in the software is not used to push this feature, there are two ways:1. You can login to the Developer Center Https://developer.apple.com, find the app's app IDs, click Edit, turn off the push notifications feature. As2. If you use the first method, you will need to re-set this feature later, re-edit and modify the app IDs, and then regenerate the certificate, a little trouble. In contrast, the second method is not so troublesome, just need to add a word in Xcode, as follows, if you use the push function, directly delete this sentence on the line, convenient and fast, fortunately remember! The second method is recommended!

"Missing Push Notification Entitlement" warning-----and workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.