RootProject represents a top-level project, which typically is an Application or a Framework. Project 1 and Project 2 present modules.
Project 1 ands Project 2 both have their own
- test application targets
Project1
andProject2
- unit test targets
Project1Tests
tests andProject2Tests
- frameworks
Project1Framework
Project2Framework
We demonstrate that Cocoapods is able to help us install BOString
into Project2Framework
.
- when both
Project1Framework
andProject2Framework
both depend on the same pod, say,BOString
, thenBOString
gets embedded into both. When the two projects are brought togetherRootProject
depends on bothProject1
andProject2
, these duplicate symbols cause linker issues.