it’s a common situation to be unable to build a SwiftPM project due to name collisions somewhere in the build tree. but sometimes the builds Just Work even though i would have anticipated a build to fail due to an expected name collision problem.

  • when is it acceptable for two products in the same build tree to have colliding names?

  • when is it acceptable for two targets in the same build tree to have colliding names?

  • when it is acceptable for two package dependencies in the same build tree to have colliding identifiers?

2 Likes