clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

报错提示:

...

ld: 6 duplicate symbols for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

自己错的原因:

在 .m文件中引入了其他 .m 文件,改成引入 .h 文件即可

 

你可能感兴趣的:(clang: error: linker command failed with exit code 1 (use -v to see invocation))