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

IOS成长之路-symbol(s) not found for architecture i386 解决办法

2013年01月23日 ⁄ 综合 ⁄ 共 292字 ⁄ 字号 评论关闭

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_SearchResultController", 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)

原因是,找不到SearchResultController这个文件,

解决办法,把这个文件添加到项目中(记住要选择copy)

抱歉!评论已关闭.