Error generating iOS application with MABS 8.0
Question

We are trying to integrate a plugin to our application. On our local device, we created a cordova project and was able to generate a successful build with the plugin. However, when we tried with OutSystems MABS 8.0, the application cannot be generated. 

The logs show the following error 

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build] source/platforms/ios/TDI Sandbox/Plugins/cordova-plugin-tdi/TDI.framework/Modules/TDI.swiftmodule/arm64-apple-ios.swiftinterface:6:8: error: no such module 'D1'

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build] import D1

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build]        ^

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build] source/platforms/ios/TDI Sandbox/Plugins/cordova-plugin-tdi/TdiSdkAgent.swift:7:8: error: failed to build module 'TDI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)'). Please select a toolchain which matches the SDK.

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build] import TDI

[2022-04-19T05:24:52.559Z] [VERBOSE] [Build]        ^


[2022-04-19T05:24:52.559Z] [VERBOSE] [Build] source/platforms/ios/TDI Sandbox/Plugins/cordova-plugin-tdi/TDI.framework/Modules/TDI.swiftmodule/arm64-apple-ios.swiftinterface:6:8: error: no such module 'D1'


The plugin owner highlighted that the issue is due to the missing D1 which they provided a fix for. We are unable to figure out why the MABS is still having the error as we cannot replicate the same error on local cordova projects.

Does anyone have any advise for us?


Make sure all the plugins are updated, and you also need to check if any of your module have any outdated Extensibility Configurations. For example if 1 of your module is referring to github and that github doesn't support MABS 8.0

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.