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