How do i remove this warning when i build my cordova project to ios ?
I am not using any plugin with notifications on the xdk project (none of the plugins or 3rd party plugins is checked)
Otherwise all is working fine but i would like to get rid of this before trouble will come later from apple.
This is what i get after uploading ipa with application loader
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.
链接已复制
Hello John
I chekced ...My provisioning profiles include only : Game Center, In-App Purchase
as for the plugins i use construct 2 plugins and a 2 additional plugins (iap and statusbar) tht were made by a 3rd party developer both are not related to push notifcations in anyway.
Alon
Ok, I see the issue now. Its an EMAIL that Apple sends you AFTER you successfully submit through Application Loader. In the future, please be very specific about things like this so we can assist you more efficiently. I am going to rebuild, not a construct 2 app and see what happens. If I dont get it, then its a construct 2 problem.
Ok, I found the culprit. It is an underlying issue with Cordova. The push code is included by Cordova be default with 4.1.2. I rebuilt with 3.5 got the email. AFAIK apple will not reject your app for this.
Hi John,
sorry about the confusion - i did mention on my post that i get the warning after uploading the ipa via application loader on the first post. but maybe i wasnt clear enough
so compling with cordova 3.5 will solve the issue ? Arent there any disatvatages of using an older version of crdova (copatipibility / performance etc?)
Thanks for your help!
Alon
We could technically, but then we would be in the business of maintaining our own branch of Cordova, which is not something that we plan on doing. Instead, the fix should come from Cordova, so get on them to fix it :)
