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,您需要从功能启用它,检查屏幕截图

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...