解决OBJC_CLASS_$_MBProgressHUD无法引用的问题(转载)

Undefined symbols for architecture i386:

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

 
 
这里的错误是因为你的在building phases中没有引用相关的头文件,因此,只需要在building phase中添加对应的.m文件就可以了。
posted @ 2015-02-23 21:53  雄霸是也  阅读(1048)  评论(0编辑  收藏  举报