After upgrade to version 1.3.0 On iOS Build appears The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 4.0, 4.2, 5.0.
Closed this issue · 10 comments
After upgrade to version 1.3.0 On iOS Build appears The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 4.0, 4.2, 5.0.
What can I do?
interesting. In the screenshot, it appears like the target that has this set is Pods
. There should be at least one more target, the one for your app, that needs to have it set. Have you checked that one too?
Main problem in fact is that I am trying to update the plugin because when I am using version 1.2.0 And distribute to AppStore I am getting this error: https://ionicframework.com/blog/understanding-itms-90809-uiwebview-api-deprecation/
Do you know if the plugin is using some reference to UIWebView instead of WKWebView?
the plugin doesn't use any form of a webView, this sounds like it might be coming from a different plugin.
@juanico18 please confirm if you found the plugin causing the issues and if the Swift Language Version
setting got you past the initial error.
Hello @aboedo Finally I revert the upgrade to version 1.2.0 and fix for other plugin the UIWebView problem. By now I will not be testing the upgrade to 1.3.0. When I will try again I will let you know if still appears the problem
@juanico18 I'm closing this for now, however we've added a section to our docs for cordova with instructions to set the Swift language version, available here: https://docs.revenuecat.com/docs/cordova#set-swift_language_version
Let us know if you encounter any issues once you do upgrade!
Thanks @aboedo It works for us.
@juanico18 thanks for the update! I'm glad it's working