2011-09-20 48 views
1

我正在嘗試構建使用SSToolKit和SSOAuthKit的Sam Soffes的TwitterDemo。我得到6個錯誤和1個警告。在這裏,他們是:構建SSToolKit和SSOAuthKit的問題

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還沒有建立。我試圖建立他們,但我失敗了 - 他們仍然是紅色的。

回答

12

看起來您需要將QuartzCore添加到您的項目中。

+1

你是魔術師。 –

+0

哈哈謝謝! :) –

+0

我可以看到它在我的應用程序中添加。但仍然沒有建設..:S –