您的位置:首页 > 大数据 > 人工智能

linker command failed with exit code 1 解决

2014-03-13 14:12 120 查看
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文件已经在里面,可先移除再添加!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: