SKIE icon indicating copy to clipboard operation
SKIE copied to clipboard

Swift Code Bundling in Sub Modules

Open ProVir opened this issue 1 year ago • 3 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?

ProVir avatar Aug 08 '24 16:08 ProVir

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.

TadeasKriz avatar Aug 08 '24 16:08 TadeasKriz

Is this plugin still planned to happen or is there any other preferred way of dealing with the situation?

paulsamuels avatar Jul 01 '25 13:07 paulsamuels

Hi! The plugin is still planned, but unfortunately, we haven't found the time yet to implement it.

FilipDolnik avatar Jul 31 '25 07:07 FilipDolnik