如何解决应用程序验证“该应用程序在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,并且在这一天,我收到验证警告:
Just days ago I successfully upload Ionic app to Apple Store, and on this day I am receiving validation warning:
该应用在Payload/something.app/something中引用了非公共选择器:_setAlwaysRunsAtForegroundPriority:
The app references non-public selectors in Payload/something.app/something: _setAlwaysRunsAtForegroundPriority:
我无法解决问题,但可以将应用上传到App Store.
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?
谢谢.
推荐答案
扩展@VégerLóránd答案:
Expanding on @Véger Lóránd answer:
该错误已在4.1.1版本中重新引入.安装最新版本将使您的应用程序被拒绝. 现在的解决方案是:
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屋!