Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Code Bundling in Sub Modules #103

Open
ProVir opened this issue Aug 8, 2024 · 1 comment
Open

Swift Code Bundling in Sub Modules #103

ProVir opened this issue Aug 8, 2024 · 1 comment

Comments

@ProVir
Copy link

ProVir commented Aug 8, 2024

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants