Closed asa closed 4 years ago
This is currently impossible due to the generated module map can't be customized. Though there's a workaround that you can try: adding @_exported import submodule
to a Swift file in the Mixed
target.
I couldn't get that to work.
I missunderstood the static-ness of the mixed_static_framework to mean that its deps would be entirely contained within the resulting framework. I am trying to split up the project into many submodules and yet deliver one single framework to thirdparty developers to include into their projects. Is this possible with this rule or should I be looking elsewhere?
I think it's possible. Let me fix your example.
Building with
bazel build -c opt //examples/ios/Mixed:MixedFramework
and importing the resulting Mixed.framework into a vanilla ios project results in aMissing required module 'submodule/
error.