linker command failed with exit code 1 解决
生活随笔
收集整理的這篇文章主要介紹了
linker command failed with exit code 1 解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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)
解決方法:
將相應的出現錯誤的.m文件,加入到build phases中的compile sources中就可以,位置如下:
注:如果發現錯誤的。m文件已經在里面,可先移除再添加!
總結
以上是生活随笔為你收集整理的linker command failed with exit code 1 解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: tableview下拉刷新
- 下一篇: presentViewControlle