Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve app validation "The app references non-public selectors in Payload/MyApp.app/MyApp: _setAlwaysRunsAtForegroundPriority:"?

Tags:

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.

like image 694
Adam Cox Avatar asked Jan 25 '19 22:01

Adam Cox


1 Answers

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 [email protected] 
like image 191
Duncan Avatar answered Oct 21 '22 13:10

Duncan