Milkman的推动ANE不适用于iOS10

前端之家收集整理的这篇文章主要介绍了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.f2er.com/iOS/333899.html

猜你在找的iOS相关文章