Hi,
I have following error when I generate the iOS apps using NFC Plugin.
Error: There was an issue generating the app. The Cordova plugin cordova-plugin-camera is not compatible with the "Swift Language Version" build setting that was defined. Check your plugin configurations and try again.
Can anyone have idea how to solve it?
I tested following scenarios:
1. User the NFC Plugin (Latest version 1.0.6) only in my apps and generate the iOS, there is no generation error.
2. However, I added Camera Plugin (From OutSystems Forge latest version 7.1.13) in my apps and generate the iOS, above error occurred and can't generate the ipa file.
3. If I only use Camera Plugin alone, and generate the iOS, No error also.
4. I also download the camera plugin code from github (https://github.com/OutSystems/cordova-plugin-camera#4.2.0-OS40). and add the following in plugin.xml iOS section.
<dependency id="cordova-plugin-add-swift-support@2.0.2"/>
<preference name="SwiftVersion" value="4" />
Zip, attached as resource and modified the config using that zip file instead of github link. Also the same error occurred.
5. So I totally removed/un-reference camera plugin and only used NFC plugin. Able to generate.
6. I also modified NFC Plugin's plugin.xml to remove the following 2 tags:
Zip, attached as resource and modified the config using that zip file instead of github link. Same error occurred.
So my question is there any workaround how to configure Swift Language Version? or How can we use these Forge components together without any errors?
Thanks in advance,
Kyaw
Hello, Install this component and check if results:
https://www.outsystems.com/forge/component-overview/7208/swift-support-plugin