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 文件即可

 

posted @ 2016-01-17 01:37  KeenLeung  阅读(908)  评论(0编辑  收藏  举报