Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GiftAnimationView"


1> error 详情:

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_GiftAnimationView", referenced from:

      _OBJC_CLASS_$_GiftFoAnimationView in GiftFoAnimationView.o

  "_OBJC_METACLASS_$_GiftAnimationView", referenced from:

      _OBJC_METACLASS_$_GiftFoAnimationView in GiftFoAnimationView.o

ld: symbol(s) not found for architecture x86_64

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

2> 这个错误是出自于移动文件到另一个demo 工程,而被移动的文件中包含了另一个类,可是 demo 工程中右没有这个类GiftAnimationView,于是就产生了这样的错误.

 

二,总结:

1> 看到_OBJC_CLASS_$_GiftAnimationView in GiftFoAnimationView.o相关的问题,应该想到是缺少类造成的.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM