Unable to run Kiwi tests on iOS8 device

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.