微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Milkman的推动ANE不适用于iOS10

我在iOS和 Android应用程序中使用Milkman EasyPush ANE进行推送通知.与Onesignal后端一起使用.

iOS 9和Android一切都很好,但没有iOS 10设备注册.
我正在使用AnimateCC(与Flash CC Pro相同)和Air SDK 23构建.

如果我在iOS 10设备上调试并监听onRegFailed事件,我得到:

“no valid aps-environment entitlement found for application”

如前所述,iOS 9没有问题.

当我将IPA上传到App Store时,我收到以下消息:

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.

但是为什么它在iOS 9上运行,而不是在iOS 10上呢?

谢谢您的帮助

解决方法

对于iOS 10,您需要从功能启用它,检查屏幕截图

原文地址:https://www.jb51.cc/iOS/333899.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐