duplicate symbol _OBJC_CLASS 错误处理方法

来源:互联网 发布:手机语音骂人软件 编辑:程序博客网 时间:2024/06/07 01:22

错误:

ld: duplicate symbol OBJC_CLASS$_************ in ******

一种可能性是你的项目的不同group里有着相同名称的类

第二种就suck了:

You could also get this error if you mistakenly let XCode’s auto-complete for #import statements specify the ‘.m” file for the ‘duplicate’ class instead of the ‘.h’.

xcode的自动完成特性,在你导入头文件的时候,将”.h”补成了”.m”

这种错就很难发现了,希望帮到那些急得要尿的程序猿们
转载地址:http://blog.sina.com.cn/s/blog_53cf947f0101400o.html

0 0