Closed aandronache closed 1 year ago
Hi!
Thanks for reporting this. This is indeed weird as we are not explicitly using any legacy Swift versions anywhere (neither in the plugin nor in the SDK). The native SDK is built with the latest 5.x
Swift.
I have also just tried to build both our Cordova
and Capacitor
internal testing apps from Xcode (v14.2 (14C18)
, just as yours) and everything worked just fine.
A couple questions:
Do I understand correctly that the app builds normally with the cordova-smartlook
plugin uninstalled?
What type of project are you using? A bare Cordova, or any kind of Ionic/Capacitor project?
If you are on Cordova, can you please kindly try to add
<platform name="ios">
<preference name="UseSwiftLanguageVersion" value="5" />
</platform>
to your plugin.xml
file to enforce the use of Swift 5
for compilation and linking?
Thank you very much!
Closing as non-responsive, feel free to reopen.
Hi, I'm also having this error in xCode 15.2.
I'm using a fresh install of Cordova Apache. I've followed your suggestion adding
`
` But unfortunately it's not stopped the error on Xcode.
I've tried it with versions 2.0.0, 2.0.1, 2.0.2, 2.0.3. All With the error.
Downgrading to version 1.9.6 fixes it for the short term.
Thanks
I cannot build my project with Xcode 14.2 (14C18) while using this plugin@2.1.0
The issue seems to be that the plugin uses Swift 3.x which is incompatible with the Xcode version.