Closed kokitang closed 4 years ago
It's always recommended to use latest CLI, but not mandatory.
I found that it's a must to use Cordova v7.1.0 if we want to update Cordova-ios to v5.1.1, otherwise Error: cannot find module 'cordova-common' when installing Cordova
will be appeared.
To others needed to use Cordova v6.5.0 or below on some plugins, you may need to remove the plugins in config.xml first, then update to Cordova v7.1.0 to update Cordova-ios to v5.1.1, and then downgrade the Cordova version back to the original version and install the plugins.
Is it necessary to update cordova-cli version to use cordova-ios 5.1.1? If so, what is the minimum required cordova-cli version of cordova-ios v5.1.1?
As the new requirement on AppStoreConnect, we need to update the cordova-ios to use the WKWebView, but due to some reason, we pretend not to upgrade (or less upgrade) our cordova-cli version.
I search around two days on documents and Google still can't found any related information about the version compatibility of cordova-cli and cordova-ios.
The reason I am going to ask this question is that I already tried to upgrade cordova-ios
5.1.1
with cordova-plugin-wkwebview-engine1.2.1
and cordova-plugin-inappbrowser3.2.0
but still no luck to pass the warning on AppStoreConnect, and I can almost confirm that there have no more UIWebView usages in other plugins of our project. The only related UIWebView kinds of stuff I found in the project was the code in CordovaLib.xcodeproj, so that I wondering if the cordova-cli version also affecting the update to WKWebView usage.My current project versions:
Thanks!