This article reprinted to Http://stackoverflow.com/questions/25871601/unable-to-run-kiwi-tests-on-ios8-device
5down Votefavorite |
I am trying to run Kiwi (installed via CocoaPods) tests on iOS8 device and the build fails with the following linking Erro Rs: 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_CLAS S_$__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_$_KWSp EC 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) "__XCTFail Urehandler ", 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.old:symbol (s) isn't found for architecture armv7
Tests is building and running on every available simulator. Xctest tests without Kiwi is being built and run succesfully on IOS 8 device as well. Sample Project:https://www.dropbox.com/s/k3la6zlc0i335ig/test.zip iOS8 xcode6 cocoapods xctest Kiwi
Share|improve this question |
Edited Sep at 11:47 |
Asked Sep at 14:34Juhan_h 1,15429 |
|
|
Add a Comment |
1 answeractiveoldestvotes
Up vote2down voteaccepted |
Try to add to $(PLATFORM_DIR)/Developer/Library/Frameworks your project ' s Build Settings = Framework Search Paths
Share|improve This answer |
|
Unable to run Kiwi tests on iOS8 device