Error "Your app contains non-public API usage" uploading an app on iOS App Store

I’m trying to submit on Apple Store a new version of an app I’ve already submitted many times.
Last time I submitted this app was last week.

Now, I’ve done some code bug-fixing, but if I try to submit the new version of the app I’ve these errors:

Upload failed

App store connect operation error
Your app contains non-public API usage. Please, review the errors, correct them, and resubmit your application.

App store connect operation error
The app references non-public selectors in Payload/
_setAlwaysRunsAtForegroundPriority:, databasePool:didAddDatabase,
databasePool:shouldAddDatabaseToPool:, ddSetLogLevel

Have you ever had this error?
Which could be the problem?
I’ve submitted the same app next week.

thank you very much


1 Like

Many other people have this error, I’ve solved as suggested in these discussions:

with these commands:

cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@4.1.0

The version cordova-plugin-ionic-webview@4.1.1 has the same problem, so install cordova-plugin-ionic-webview@latest isn’t a good idea.

The strange thing is that last week I’ve uploaded the same app without these problems.



Thank you for your help, this solved my problem.

1 Like

thanks , worked for me!

Thanks! It worked perfect. I hope the ionic team will solve this soon.