iPhone开发--Unresolved Symbols CAKeyframeAnimation : iOS Animation

来源:岁月联盟 编辑:exp 时间:2012-09-10

我尝试这用CoreAnimation做一些动画效果,却在最后出现了如下的编译错误:


[plain]
Undefined symbols for architecture i386: 
  "_OBJC_CLASS_$_CAKeyframeAnimation", referenced from: 
      objc-class-ref in SpellPageViewController.o 
ld: symbol(s) not found for architecture i386 
collect2: ld returned 1 exit status 

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CAKeyframeAnimation", referenced from:
      objc-class-ref in SpellPageViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
解决方法:

检查你是否链接了QuartzCore库,如没有链接,请将其放到frameWork中。