本文转载至 http://stackoverflow.com/questions/25871601/unable-to-run-kiwi-tests-on-ios8-device

I am trying to run Kiwi (installed via CocoaPods) tests on iOS8 device but the build fails with the following linking errors:

ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest, missing required architecture armv7 in file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCTest.framework/XCTest (2 slices)
Undefined symbols for architecture armv7:
"_OBJC_METACLASS_$_XCTestSuite", referenced from:
_OBJC_METACLASS_$__KWAllTestsSuite in libPods-TestTests.a(KWAllTestsSuite.o)
"_OBJC_CLASS_$_XCTestSuite", referenced from:
_OBJC_CLASS_$__KWAllTestsSuite in libPods-TestTests.a(KWAllTestsSuite.o)
objc-class-ref in libPods-TestTests.a(KWAllTestsSuite.o)
l_OBJC_$_CATEGORY_XCTestSuite_$_KWConfiguration in libPods-TestTests.a(KWAllTestsSuite.o)
"_OBJC_METACLASS_$_XCTestCase", referenced from:
_OBJC_METACLASS_$_TestTests in TestTests.o
_OBJC_METACLASS_$_KWSpec in libPods-TestTests.a(KWSpec.o)
"_OBJC_CLASS_$_XCTestCase", referenced from:
_OBJC_CLASS_$_TestTests in TestTests.o
_OBJC_CLASS_$_KWSpec in libPods-TestTests.a(KWSpec.o)
"__XCTFailureHandler", referenced from:
-[TestTests testExample] in TestTests.o
"__XCTFailureFormat", referenced from:
-[TestTests testExample] in TestTests.o
"_OBJC_EHTYPE_$__XCTestCaseInterruptionException", referenced from:
GCC_except_table2 in TestTests.o
ld: symbol(s) not found for architecture armv7

Tests are building and running on every available simulator. XCTest tests without Kiwi are being built and run succesfully on iOS 8 device as well.

Sample project: https://www.dropbox.com/s/k3la6zlc0i335ig/Test.zip

asked Sep 16 at 14:34
juhan_h
1,1542917
 

Try to add $(PLATFORM_DIR)/Developer/Library/Frameworks to your project's Build Settings => Framework Search Paths

Unable to run Kiwi tests on iOS8 device的更多相关文章

  1. Unable to run app in Simulator

    xcode6 beta出现 “Unable to run app in Simulator” 错误提示,之前一直用着好好的,重启xcode就可以了. xcode6 beta出现 “Unable to ...

  2. android studio提示unable to run mksdcard sdk

    如题,android studio提示unable to run mksdcard sdk sudo apt-

  3. Unable to run mksdcard SDK tool.

    Ubuntu 14.04,安装android studio后运行出错,sdk manager不能正常运行 Unable to run mksdcard SDK tool. 原因,缺少运行需要的库:li ...

  4. Selenium 15: How to Run Parallel Tests Using Selenium Grid and JUnit

    In this post, I will give two techniques and describe how to run your selenium tests in parallel by ...

  5. ubuntu15.10运行android studio出错unable to run mksdcard sdk tool

    问题:ubuntu运行android studio出错unable to run mksdcard sdk tool 系统版本:系统是ubuntu 15.10 64位 确认原因:缺少lib 解决方法: ...

  6. Android studio Unable to run mksdcard SDK tool

    /******************************************************************************************** * Andr ...

  7. ubuntu18.04 下启动Android Studio报错KVM is required to run this AVD. /dev/kvm device: permission denied.

    在ubuntu18.04下安装Android Studio,安装了模拟器后运行报错 KVM is required to run this AVD. /dev/kvm device: permissi ...

  8. Unable to run man pages on Centos 6

    I just installed CentOS 6 with minimal install. When i tried to read the linux manual pages using ma ...

  9. android studio 安装报错 unable to run mksdcard sdk tool

    搜了一下原来缺少这个 sudo apt-get install lib32z1 lib32ncurses5  lib32stdc++6

随机推荐

  1. poj 4001 To Miss Our Children Time

    To Miss Our Children Time Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65768/65768 K (Jav ...

  2. 【NOIP2016】换教室(DP,期望)

    题意: 对于刚上大学的牛牛来说, 他面临的第一个问题是如何根据实际情况中情合适的课程. 在可以选择的课程中,有2n节课程安排在n个时间段上.在第 i ( 1≤ i≤n)个时同段上, 两节内容相同的课程 ...

  3. Android Tools update proxy

    Android Tools Android SDK在线更新镜像服务器 中国科学院开源协会镜像站地址: IPV4/IPV6: http://mirrors.opencas.cn 端口:80 IPV4/I ...

  4. 共享内存之——system V共享内存

    System V 的IPC对象有共享内存.消息队列.信号灯(量). 注意:在IPC的通信模式下,不管是共享内存.消息队列还是信号灯,每个IPC的对象都有唯一的名字,称为"键(key)&quo ...

  5. Scrapy学习-20-数据收集

    Scrapy的数据收集功能 定义 Scrapy提供了方便的收集数据的机制.数据以key/value方式存储,值大多是计数值. 该机制叫做数据收集器(Stats Collector),可以通过 Craw ...

  6. VUE2.0 【v-html】标签使用技巧

    <div class="active-rules"> <div class="weui-weixin-content" id="ru ...

  7. 一起来学Spring Cloud | 第六章:服务网关 ( Zuul)

    本章节,我们讲解springcloud重要组件:微服务网关Zuul.如果有同学从第一章看到本章的,会发现我们已经讲解了大部分微服务常用的基本组件. 已经讲解过的: 一起来学Spring Cloud | ...

  8. SQLite数据库中rowid使用

    SQLite数据库中rowid使用   SQLite中每个表都默认包含一个隐藏列rowid,使用WITHOUT ROWID定义的表除外.通常情况下,rowid可以唯一的标记表中的每个记录.表中插入的第 ...

  9. 访问权限修饰符Protected专题

    上图描述:A类在a包下,m()方法被protected修饰 上图描述:B类也在a包下,B类是A类的子类. 解析:B类和A类是同包类,B类是A类的子类,因此b对象可以调用m()方法. 上图描述:C类也在 ...

  10. Python基础语法02-运算符

    Python 运算符 算术运算符 比较(关系)运算符 赋值运算符 逻辑运算符 位运算符 成员运算符 身份运算符 运算符优先级 Python运算符优先级 以下表格列出了从最高到最低优先级的所有运算符: ...