Conflicting definitions in different modules???

I have classes LottieView and AnimationView inside two different modules. One module is imported as a CocoaPod and the other lives inside my framework. The Swift class names in the header files are properly mangled and different. The build system is failing because of small differences between the two versions. But the mangled class names are different, so why are they "colliding"?

Conflicting definitions in different modules???
 
 
Q