如何解决应用验证“应用引用 Payload/MyApp.app/MyApp 中的非公共选择器:_setAlwaysRunsAtForegroundPriority:"? [英] How to resolve app validation "The app references non-public selectors in Payload/MyApp.app/MyApp: _setAlwaysRunsAtForegroundPriority:"?
问题描述
就在几天前,我成功将 Ionic 应用上传到 Apple Store,这一天我收到了验证警告:
<块引用><块引用>应用在 Payload/something.app/something 中引用非公共选择器:_setAlwaysRunsAtForegroundPriority:
虽然我无法解决,但我可以将应用上传到 App Store.
有谁知道它记录在哪里或对如何解决有任何见解?
谢谢.
扩展@Véger Lóránd 答案:
该错误在 4.1.1 版本中重新引入.安装最新版本将使您的应用程序被拒绝.目前的解决方案是:
cordova 插件 rmcordova-plugin-ionic-webviewcordova 插件添加cordova-plugin-ionic-webview@4.1.0
Just days ago I successfully upload Ionic app to Apple Store, and on this day I am receiving validation warning:
The app references non-public selectors in Payload/something.app/something: _setAlwaysRunsAtForegroundPriority:
While I was unable to resolve, I was able to upload app to App Store.
Does anyone know where it is documented or have any insights on how to resolve?
Thanks.
Expanding on @Véger Lóránd answer:
The bug was re-introduced in the 4.1.1 version. Installing the latest version will get your app rejected. The solution for now is:
cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@4.1.0
这篇关于如何解决应用验证“应用引用 Payload/MyApp.app/MyApp 中的非公共选择器:_setAlwaysRunsAtForegroundPriority:"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!