错误:

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"

 

这种错就很难发现了,希望帮到那些急得要尿的程序猿们

 

 

相关文章:

  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2021-06-27
  • 2021-04-09
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2021-07-22
  • 2021-06-09
  • 2021-07-06
  • 2021-08-08
相关资源
相似解决方案