XCTest.framework missing

781 views
Skip to first unread message

automation

unread,
Jul 17, 2015, 4:04:11 PM7/17/15
to kif-fr...@googlegroups.com
Hi,

I've imported KIF project into Xcode and able to build successfully.  However when I select "test" in Xcode to run through the tests my app launches and immediately crashes 

and I get this error...

IDEBundleInjection.c: Error 4 loading bundle '/Users/usr/Library/Developer/Xcode/DerivedData/test-djryfumivgghhonjvozbeimm/Build/Products/Debug-iphonesimulator/Tests.xctest': The bundle “Tests” couldn’t be loaded because its executable couldn’t be located.

DevToolsBundleInjection environment:

XCInjectDiagnostics: (null)


In project navigator on the left of Xcode, XCTest.framework appears red.  I'm using Xcode 6.2.


Does anyone know how to fix this?


attaching screenshot


thanks

kif.png

Michael Lupo

unread,
Jul 17, 2015, 7:33:28 PM7/17/15
to kif-fr...@googlegroups.com
Is the test scheme building your tests?

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kif-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<kif.png>

Tony Mann

unread,
Jul 28, 2015, 1:12:20 PM7/28/15
to kif-fr...@googlegroups.com
Can you run non-KIF unit tests?

Tony

-- 

Jannie Theron

unread,
Aug 6, 2015, 5:51:43 AM8/6/15
to KIF iOS Automated Testing Framework
Hi there

I dont use KIF for testing but have been running into this exact Error 4, Any solutions as I cant run any tests at the moment

Michael Lupo

unread,
Aug 6, 2015, 6:14:57 AM8/6/15
to kif-fr...@googlegroups.com
What scheme are you running the tests from? The applications's build scheme or a separate "test" scheme?

Make sure that your scheme is building the tests. Seems to me that the <testscheme>.xctest file is missing or cannot be found. 
--
Reply all
Reply to author
Forward
0 new messages