I would like to create a Swift framework which links to Objective-C code.
The problem is that when I use bridging between my Swift code and the Objective-C code, compilation of the framework fails with "Using bridging headers with framework targets is unsupported".
The only solution I found (edit: similar to this one) was to import in my framework's umbrella header every Objective-C header that should be exposed to Swift, and then make these headers public.
As a result, I'm able to build a framework, but it contains all the Objective-C code. What I would like to achieve is to produce a framework which contains only the Swift part.