touchlab/SKIE

Swift Code Bundling in Sub Modules

ProVir opened this issue · 1 comments

I started using the feature Swift Code Bundling and according to the documentation, I enabled the plugin wherever I add Swift code.

The swift source sets are created only in the module where the SKIE plugin is applied.

https://skie.touchlab.co/features/swift-code-bundling

But because of this, I get a warning for modules - that I use a plugin in a module without a framework.
No Apple frameworks configured in module :shared:base. Make sure you applied SKIE plugin in the correct module.

But at the same time, the swift code from this module is visible in the final framework - It is OK.

Is this an erroneous warning or could there be unforeseen consequences?

Hi, thanks for the report. This is a current limitation which we'll be fixing in a future release with a separate plugin for other modules. We want to keep the warning to make sure the main plugin is applied in the right module, but the second plugin will be meant for modules that don't link a final framework.