Pages

Friday, August 2, 2019

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

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

  1. to solve this go to your old ionic project folder and double click the config.xml
    and look for the <plugin name="cordova-plugin-ionic-webview" spec="^X.X.X">. it is likely to be an older version say 3.0.0. to remove it read https://forum.ionicframework.com/t/error-your-app-contains-non-public-api-usage-uploading-an-app-on-ios-app-store/168240. In your command line, at the location of the ionic project folder, type in
    1.  $ cordova plugin rm cordova-plugin-ionic-webview
  2. to add back the latest type in as suggested https://github.com/ionic-team/cordova-plugin-ionic-webview
    1. $ cordova plugin add cordova-plugin-ionic-webview@latest
  3. note that the config.xml should be updated 
  4. now, it should not have anyway problem uploading to iOS app store



No comments:

Post a Comment