您的位置:首页 > 移动开发 > IOS开发

iOS duplicate symbol _OBJC_CLASS 错误处理方法

2015-07-30 16:57 537 查看
错误:

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"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: