XCode 14.1 and ionic with cordova incompatibility?

Is someone able to compile ionic with cordova with xcode 14.1? I think something relatred with cordova plugin cordova-plugin-ionic/cordova-plugin-ionic-webview is broken.

Anybody is in the same situation?
I’ve tried with a blank project with same results.

So necessary, so can’t upload to appstore right now!! :open_mouth:

Is ionic+cordova still releasable to appstore?

System:
ionic 5
cordova 11
cordova-ios 6.3.0

What’s the error you get?
I’ve just created a new ionic app, added Cordova to it and I can build without problems using Xcode 14.3

Thank you Julio. I’ve been investigating, and it’s because of a plugin, that requires of a minimum deployment-target 12, but cordova-plugin-ionic-webview it’s overriding it to 11 causing the build to fail.
Setting 12 with the preference on config.xml:
<preference name="deployment-target" value="12.0.0" />
Why does ionic-webview plugin override this?

Also, to compile, I need to inform SWIFT_VERSION on XCode app build settings (asks it to me when building). I put the <preference name="UseSwiftLanguageVersion" value="4" /> and it is not working…

On Monday I attach a link to a sample project reproducing this issue.
Thank you in advance

@julio-ionic
The sample repo mentioned in the last message: GitHub - aleixfargas/testIosIonic5

The plugin requires iOS 11 or newer to work, since it supports cordova-ios versions that supports older iOS versions than 11, it had to add the deployment-target with 11 value.

If you add the <preference name="deployment-target" value="12.0.0" />, it should take precedence over the plugin value, if it doesn’t work it might be a cordova bug. Try using 12.0 instead of 12.0.0 as I don’t think that’s a valid value.

The <preference name="UseSwiftLanguageVersion" value="4" /> is not a standard preference, that’s “made up” by cordova-plugin-add-swift-support plugin, so in order to work you need to install that plugin.
Or if your cordova-ios version is recent, you should be able to use <preference name="SwiftVersion" value="4" /> without additional plugins.