touchlab / SKIE

SKIE - Swift Kotlin Interface Enhancer
https://skie.touchlab.co/
Apache License 2.0
704 stars 9 forks source link

Swift Code Bundling in Sub Modules #103

Open ProVir opened 1 month ago

ProVir commented 1 month ago

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?

TadeasKriz commented 1 month ago

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.