linker command failed with exit code 1 链接器命令失败,退出代码1解决

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_VRGCalendarView", referenced from:

      objc-class-ref in InquirePlanViewController.o

ld: symbol(s) not found for architecture i386

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

 

解决方法:
 
将相应的出现错误的.m文件,加入到build phases中的compile sources中就可以,位置如下:

 

 
posted @ 2014-03-24 19:04  翔`  阅读(410)  评论(0)    收藏  举报