XCFramework with SPM dependency

I have a Swift framework (framework A) with SPM dependency (module B).
Module B is used as framework A implementation part.
The framework defines its own module A.
I use Xcode 11.7 build system for compilation and building (xcodeproj-based), not SPM capabilities.
When I compile framework I see a compiler warning "module 'B' was not compiled with library evolution support; using it means binary compatibility for 'A' can't be guaranteed."
When I open the DerivedData output folder I see file B.o and B.swiftmodule.

So I have questions:

  1. Will B.o be 'statically' linked to the output framework's binary?
  2. How can avoid this warning?
  3. Will public/open classes/functions/enums inside module B come "public part" of framework A API's?
  4. Is it possible to "hide" module B within the framework?
Terms of Service

Privacy Policy

Cookie Policy