简体   繁体   English

更新到 xCode8 和 iOS10 后,Apple 回应“缺少推送通知权利”

[英]Apple responds with "Missing Push Notification Entitlement" after update to xCode8 and iOS10

In the details, the email i get from the itunes store says:在详细信息中,我从 iTunes 商店收到的电子邮件说:

"the aps-environment entitlement is missing from the app's signature" “应用程序签名中缺少 aps-environment 权利”

and

"make sure your App ID is enabled for push notification in the Provisioning Portal" “确保您的 App ID 已在 Provisioning Portal 中启用推送通知”

I can see in the portal that I have enabled Push Notifications for that app id, so i'm not sure how to proceed.我可以在门户中看到我已为该应用程序 ID 启用推送通知,所以我不确定如何继续。 Help?帮助?

Turn on push notifications from Xcode 8.从 Xcode 8 打开推送通知。

Click on your project file, then click on capabilities from there you can turn on and off the push notifications.单击您的项目文件,然后单击此处的功能,您可以打开和关闭推送通知。

在此处输入图片说明

Why apple send this mail to user don't know.为什么苹果向用户发送此邮件不知道。 Its just to tell you if you are using push notifications in your app than turn it on other wise forget it.它只是告诉你你是否在你的应用程序中使用推送通知,而不是打开它,否则忘记它。

If you are not using push notifications in your app you have not to worry about it.如果您没有在应用中使用推送通知,则不必担心。 Apple will surely approve your app if it didn't contain any other issue so be happy its just a warning 😉😉如果您的应用程序不包含任何其他问题,Apple 肯定会批准它,所以很高兴它只是一个警告 😉😉

原来这是一个已知问题,预计会在cordova-ios v4.3.0中修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM