duplicate symbols for architecture i386 clang May 24, 2023 by Tarik Another reason this error often happens is accidentally importing the .m file instead of the .h.