我正在尝试构建使用 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 尚未构建。我试图建造它们,但我失败了——它们仍然是红色的。