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

来源:互联网 发布:知乎 我爱男保姆 编辑:程序博客网 时间:2024/05/19 12:18

转自:http://ningmengjiabing.blog.163.com/blog/static/20484719820121172293918/

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


错误具体信息如下:


 

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)

 

linker command failed with exit code 1 解决 - 柠檬加冰 - 柠檬加冰的博客

解决方法:

将相应的出现错误的.m文件,加入到build phases中的compile sources中就可以,位置如下:
linker command failed with exit code 1 解决 - 柠檬加冰 - 柠檬加冰的博客


原创粉丝点击