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