码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-01-17 06:25:17      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:

 

报错提示:

...

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)

标签:

原文地址:http://www.cnblogs.com/KeenLeung/p/5136711.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!