duplicate symbol 'OBJC_CLASS$_xxx' in: .......(xxx.o)
(前面太多,就不贴了)
ld: 8 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这个报错一般是 项目中重复导入了某些文件
可以首先打开终端,cd到工程目录下,
输入命令 find . -name "xxx" //查找该目录及子目录下包含“* xxx *”的文件, *表示匹配任意多个字符
就能发现工程里有哪些库包含了xxx文件,重复导入了