UIWebView to WKWebView migration

I have read the blog post posted by ionic.

"cordova-plugin-android-permissions": "^1.1.0",
"cordova-plugin-app-icon-changer": "^1.0.0",
"cordova-plugin-camera": "^4.0.3",
"cordova-plugin-device": "^2.0.2",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-file-transfer": "^1.7.1",
"cordova-plugin-filepath": "^1.4.2",
"cordova-plugin-ionic-keyboard": "^2.1.3",
"cordova-plugin-telerik-imagepicker": "^2.3.5",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-ionic-webview": "^5.0.0",
"cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-statusbar": "^2.4.3",

when I add preference name=“WKWebViewOnly” value=“true”" to my config.xml file and run “cordova build ios” that line is automatically delete what am I doing wrong?