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相關的問題,應該想到是缺少類造成的.
