New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests Failing Without Running in Xcode 6 RC #141
Comments
I haven't had the chance to look into it, but I've heard rumors that the install location of XCTest in the Xcode 6 GM has changed. Maybe that has something to do with this error? I'll look into this as soon as I can. Thanks for the heads up, @snown! |
Thanks @modocache. I had an issue with Cocoapods not finding the XCTest framework, and managed to resolve the error I was getting in Xcode 6 RC by following some suggestions in this Stack Overflow Question. However, applying that same Thanks for the quick (pun semi-intended) response! |
@snown I encountered the exact same error message as you. Here's how it happened, and how I was able to solve it:
The solution was to quit all instances of Xcode, remove the DerivedData folder at The same step is probably necessary every time you switch between versions of Xcode. tl;dr: @snown try deleting the DerivedData directory and running the tests again. 🍸 ✨ If that doesn't solve your problem, either comment on this issue and I'll reopen it, or open a new issue. Thanks again for the report!! |
FYI, I was getting this error consistently in Xcode 6.2 beta (6C86e) until I went back and noticed that I forgot to add a swift file to the test target. After that, the message went away and tests started running. |
Try to add @import UIKit; to any of your test classes fix this. Reference: |
@modocache I think this may still be an issue. I deleted the DerivedData folder in my recent app, and the same error was shown. I noticed @52doho's comment about importing UIKit, but, unfortunately, the error is still there. I'm attaching the message:
|
Hi @codeblooded did you try to:
That solved the problem for me. |
Adding |
expectAction(...) requires a void block argument
When I run my tests after installing Quick and Nimble I get a Tests Failed message with the following log:
Test target Tests encountered an error (Test session exited(82) without checking in. Executable cannot be loaded for some other reason, such as a problem with a library it depends on or a code signature/entitlements mismatch. Retry after a Clean build. If you believe this error represents a bug, please attach the log file at /var/folders/38/fm3x411100v9lp48n_py3dlh0000gn/T/com.apple.dt.XCTest-status/Session-2014-09-10_11:39:20-JbO0b7.log)
I did try a clean build to no avail.
Here is the log file referenced above: fm3x411100v9lp48n_py3dlh0000gn/T/com.apple.dt.XCTest-status/Session-2014-09-10_11:39:20-JbO0b7.log
Thanks for any insight.
The text was updated successfully, but these errors were encountered: