架构armv7的未定义符号(CCControlButton)

时间:2013-11-27 05:43:07

标签: ios xcode cocos2d-iphone armv7 undefined-symbol

我正在使用CBReader来阅读cocoabuilder文件。在模拟器上工作正常。但当我试图运行我的iPad时,它给我编译错误。

Undefined symbols for architecture armv7:
  "_OBJC_IVAR_$_CCControl.state_", referenced from:
      -[CCControlButton setTitle:forState:] in CCControlButton.o
      -[CCControlButton setTitleColor:forState:] in CCControlButton.o
      -[CCControlButton setTitleLabel:forState:] in CCControlButton.o
      -[CCControlButton setBackgroundSprite:forState:] in CCControlButton.o
      -[CCControlButton needsLayout] in CCControlButton.o
      -[CCControlButton ccTouchBegan:withEvent:] in CCControlButton.o
      -[CCControlButton ccTouchMoved:withEvent:] in CCControlButton.o
      ...
  "_OBJC_IVAR_$_CCControl.highlighted_", referenced from:
      -[CCControlButton setHighlighted:] in CCControlButton.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

请帮忙!

0 个答案:

没有答案