现在的位置: 首页 > 综合 > 正文

‘Undefined symbols for architecture i386,clang: error: linker command failed with exit code 1

2013年07月24日 ⁄ 综合 ⁄ 共 286字 ⁄ 字号 评论关闭

'Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CustomTabBar", referenced from objc-class-ref in
ViewController.o
ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)'


问题原因:我xcode版本为4.3.1,在引入CustomTabBar时候,4.3.1默认没有勾选targert,所以导致上述错误。


 

抱歉!评论已关闭.