I have the following Xcode project dependencies:
A -> C
B -> C
When I build these separately, everything works fine.
However, I want to add A
and B
to the same Xcode project, creating the following dependency graph:
/ -> A -> C
D-<
\ -> B -> C
This causes duplicate symbol errors, and is basically DLL hell. What is a good way to resolve this while allowing the projects to be independent? I realize that I could break up A
and B
's dependency on C
, and then remake that dependency in D
, but I want A
and B
to be indpendently buildable.