I was trying to solve ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted when deploying to App Store.
I upgraded Cordova Platforms to ios 6.1.1,
cordova-plugin-ionic-webview to 5.0.0, for Wkwebview.
Finally, I can build successfully.
However, when I run as iOS app by Xcode, it stuck in splash screen and cannot go to other pages…
No error log is found. But I can found below logs when I open the app from background.
2020-10-22 23:00:06.619640+0800 MyApp[19806:3697502] CDVWKWebViewEngine shouldReloadWebView::
2020-10-22 23:00:06.619753+0800 MyApp[19806:3697502] CDVWKWebViewEngine shouldReloadWebView title: Ionic App
2020-10-22 23:00:06.619786+0800 MyApp[19806:3697502] CDVWKWebViewEngine shouldReloadWebView location: ionic://localhost/walkthrough
2020-10-22 23:00:06.619809+0800 MyApp [ 19806:3697502 ] CDVWKWebViewEngine shouldReloadWebView reload: 0
Below is my information
Ionic:
Ionic CLI : 5.4.13 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.11.7
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 6.1.1
Cordova Plugins :
"cordova-plugin-badge": "0.8.8",
"cordova-plugin-camera": "4.1.0",
"cordova-plugin-datepicker": "0.9.3",
"cordova-plugin-decimal-keyboard-wkwebview": "1.0.4",
"cordova-plugin-device": "2.0.2",
"cordova-plugin-ionic-keyboard": "^2.0.5",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-local-notification": "0.9.0-beta.2",
"cordova-plugin-splashscreen": "6.0.0",
"cordova-plugin-statusbar": "2.4.2",
"cordova-plugin-telerik-imagepicker": "2.3.3",
"cordova-plugin-whitelist": "1.3.3",
"cordova-plugin-wkwebviewxhrfix": "0.1.0",
"cordova-sqlite-storage": "3.3.0",
Utility:
cordova-res : not installed
native-run : not installed
System:
ios-deploy : 2.0.0
ios-sim : 8.0.2
NodeJS : v12.14.1 (/usr/local/bin/node)
npm : 6.13.4
OS : macOS Catalina
Xcode : Xcode 12.1 Build version 12A7403
Thank you.