Ionic V1 -> UIWebView to WKWebView

Hi all,
I’m maintaining an old app in Ionic V1.

Ionic:

Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.4
@ionic/v1-toolkit : 1.0.8

Cordova:

Cordova CLI : 8.0.0
Cordova Platforms : android 7.0.0, ios 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 13 other plugins)

Utility:

cordova-res : not installed
native-run : not installed

System:

ios-deploy : 1.9.2
ios-sim : 8.0.2
NodeJS : v10.16.0 (/usr/local/bin/node)
npm : 6.9.0
OS : macOS Mojave
Xcode : Xcode 11.3.1 Build version 11C504

now Apple remove the support for UIWebView so I tried to:

cordova platform rm ios
cordova platform add ios@5.1.0

but when I change from Xcode WK_WEB_VIEW_ONLY to 1 the build fail:

Undefined symbols for architecture x86_64:
OBJC_CLASS$_CDVUIWebViewDelegate”, referenced from:
objc-class-ref in CDVInAppBrowser.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

any idea?
thanks