我正在尝试使用SSToolKit和SSOAuthKit构建Sam Soffes的TwitterDemo。我得到6个错误和1个警告。他们在这里:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CABasicAnimation", referenced from:
objc-class-ref in libSSOAuthKit.a(SSAddressBarTextFieldBackgroundView.o)
"_OBJC_CLASS_$_CAMediaTimingFunction", referenced from:
objc-class-ref in libSSOAuthKit.a(SSAddressBarTextFieldBackgroundView.o)
"_kCAMediaTimingFunctionEaseIn", referenced from:
-[SSAddressBarTextFieldBackgroundView _setupAnimation] in libSSOAuthKit.a(SSAddressBarTextFieldBackgroundView.o)
"_OBJC_CLASS_$_CAKeyframeAnimation", referenced from:
objc-class-ref in libSSOAuthKit.a(SSAnimatedImageView.o)
"_kCAAnimationDiscrete", referenced from:
-[SSAnimatedImageView _animationWithName:images:repeatCount:delegate:] in libSSOAuthKit.a(SSAnimatedImageView.o)
"_kCAFillModeForwards", referenced from:
-[SSAnimatedImageView _animationWithName:images:repeatCount:delegate:] in libSSOAuthKit.a(SSAnimatedImageView.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
警告:
'UIImage' may not respond to '+imageNamed:bundle:'
我认为问题是libSSToolkit.a和libSSOAuthKit.a还没有构建。我试图建造它们,但我失败了 - 它们仍然是红色的。
答案 0 :(得分:12)
看起来您需要将QuartzCore添加到您的项目中。