I'm working with a product that has the following dependency graph:
App (with -ObjC flag) -> Static lib
I'm beginning work on a new module and I'd love for it to be a Swift Package. So, I go ahead and create a new swift package and add it as a dependency to the Static lib using the Xcode 11b5 Swift Package. When I attempt to build, I immediately get a linker error:
x duplicate symbols for architecture x86_64
When I test this with a brand new project following the same structure but without the application's
-ObjC linker flag, everything builds fine. However, the project I'm working on requires that flag to build.
What am I missing here?