码迷,mamicode.com
首页 > 移动开发 > 详细

ios unit test 工程选择release时候报错Undefined symbols for architecture i386

时间:2015-01-15 17:49:49      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:

Undefined symbols for architecture i386:

  "_OBJC_CLASS_$_ItemReturn", referenced from:

      objc-class-ref in JenknisDemoTests.o

  "_OBJC_CLASS_$_ViewController", referenced from:

      objc-class-ref in ViewControllerTest.o

     (maybe you meant: _OBJC_CLASS_$_ViewControllerTest)

ld: symbol(s) not found for architecture i386

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

 

解决方法: edit scheme,然后在build选项中找到对应出错的target,然后去掉run的勾选就可以了。

技术分享

ios unit test 工程选择release时候报错Undefined symbols for architecture i386

标签:

原文地址:http://www.cnblogs.com/lisa090818/p/4226576.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!