I have a project in XCode that uses some C++ code (openCV to be exact). One of my files, AdjustVC.mm importing this file (it’s called image_processing.mm). Everything works fine. But when I import image_processing.mm in another file, TestVC.mm, I get errors:
ld: 14 duplicate symbols for architecture armv7
It’s not a problem about your code base,
ldis the tool for the linking phase, most likely you are using your libraries in the wrong way.you should add more details about the libraries involved in your project or just verify them.