本文转载至 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. 外星人(bzoj 2749)

    Description Input Output 输出test行,每行一个整数,表示答案. Sample Input 1 2 2 2 3 1 Sample Output 3 HINT Test< ...

  2. poj 3293 Rectilinear polygon

    Rectilinear polygon Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2125   Accepted: 24 ...

  3. FOJ Problem 2254 英语考试

                                                                                                        ...

  4. Lua中闭包详解 来自RingOfTheC[ring.of.the.c@gmail.com]

    这些东西是平时遇到的, 觉得有一定的价值, 所以记录下来, 以后遇到类似的问题可以查阅, 同时分享出来也能方便需要的人, 转载请注明来自RingOfTheC[ring.of.the.c@gmail.c ...

  5. Install Battery Historian

    1. Recommended extra packages for Trusty 14.04 $ sudo apt-get update $ sudo apt-get install \ linux- ...

  6. 开发使用mysql的一些必备知识点整理(三)高级

    简介 实体与实体之间有3种对应关系,这些关系也需要存储下来 在开发中需要对存储的数据进行一些处理,用到内置的一些函数 视图用于完成查询语句的封装 事务可以保证复杂的增删改操作有效 关系 创建成绩表sc ...

  7. loading上下左右居中

    .loading { width: 50px; height: 60px; text-align: center; font-size: 10px; position:fixed; left:50%; ...

  8. Codeforces 868F Yet Another Minimization Problem(分治+莫队优化DP)

    题目链接  Yet Another Minimization Problem 题意  给定一个序列,现在要把这个序列分成k个连续的连续子序列.求每个连续子序列价值和的最小值. 设$f[i][j]$为前 ...

  9. Codeforces Gym 100338B Spam Filter 字符串哈希+贝叶斯公式

    原题链接:http://codeforces.com/gym/100338/attachments/download/2136/20062007-winter-petrozavodsk-camp-an ...

  10. spring springmvc js websocket 监听

    第一步:web.xml中支持异步.所有的filter及servlet <filter> <filter-name>characterEncoding</filter-na ...