Compiling a dynamic framework with a statically linked library creates dependencies in ".swiftmodule" file

There's not really a supported way to do this at this time. The work that would be necessary is described in @_exported and fixing import visibility and Update on implementation-only imports.

2 Likes