[Native Geocoder Plugin] Native Geocoder Plugin not supporting MABS 6.1

Forge Component
(2)
Published on 2019-02-01 by Henrique Batista
2 votes
Published on 2019-02-01 by Henrique Batista

We have been using this plugin in one few of the enterprise applications. As per the latest direction of Apple, we tried to update the applications to MABS 6.1. However, it seems that this plugin is not supporting MABS 6.1. We are getting the below error:

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Enterprise_Application' from project 'Enterprise Mobile Banking')** ARCHIVE FAILED **

Error: xcodebuild: Command failed with exit code 65

[2020-04-09T14:49:46.622Z] [ERROR] Build failed with the following error: Error generating application. At least one Cordova plugin used in the build requires Swift but no "Swift Language Version" build setting was defined. Check your plugins configuration.

Is there any workaround available? I request the developer to kindly upgrade the plugin or provide any possible way to upgrade the SWIFT code version.

Solution

Shounak Devbhuti wrote:

We have been using this plugin in one few of the enterprise applications. As per the latest direction of Apple, we tried to update the applications to MABS 6.1. However, it seems that this plugin is not supporting MABS 6.1. We are getting the below error:

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Enterprise_Application' from project 'Enterprise Mobile Banking')** ARCHIVE FAILED **

Error: xcodebuild: Command failed with exit code 65

[2020-04-09T14:49:46.622Z] [ERROR] Build failed with the following error: Error generating application. At least one Cordova plugin used in the build requires Swift but no "Swift Language Version" build setting was defined. Check your plugins configuration.

Is there any workaround available? I request the developer to kindly upgrade the plugin or provide any possible way to upgrade the SWIFT code version.

Hello Shounak Devbhuti,


I had the same problem and this solution works for me.

Install and reference this Plugin: https://www.outsystems.com/forge/component-overview/7208/swift-support-plugin


I hope it works for you too.

Bruno Domingues


Solution

Bruno Domingues wrote:

Shounak Devbhuti wrote:

We have been using this plugin in one few of the enterprise applications. As per the latest direction of Apple, we tried to update the applications to MABS 6.1. However, it seems that this plugin is not supporting MABS 6.1. We are getting the below error:

error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'Enterprise_Application' from project 'Enterprise Mobile Banking')** ARCHIVE FAILED **

Error: xcodebuild: Command failed with exit code 65

[2020-04-09T14:49:46.622Z] [ERROR] Build failed with the following error: Error generating application. At least one Cordova plugin used in the build requires Swift but no "Swift Language Version" build setting was defined. Check your plugins configuration.

Is there any workaround available? I request the developer to kindly upgrade the plugin or provide any possible way to upgrade the SWIFT code version.

Hello Shounak Devbhuti,


I had the same problem and this solution works for me.

Install and reference this Plugin: https://www.outsystems.com/forge/component-overview/7208/swift-support-plugin


I hope it works for you too.

Bruno Domingues


Thanks a lot...this works like a charm...

Shounak