-
Notifications
You must be signed in to change notification settings - Fork 510
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
Xcode 6.0.1 fails to load test bundle for **iOS** application test target #570
Comments
I tried deleting Derived Data and testing in the iPhone 5s (7.0.3) simulator, but that didn't work either. |
Same issue here... |
I was able to work around this by doing the following:
I think that's all, but I'm probably forgetting something... If you see errors or have questions, feel free to post them here and I'll do my best to help. |
Hmm ... I saw this a few times when working on Cedar, adding support for Xcode 6. @joshuatbrown -- can you try changing the "Wrapper Extension" for your test bundle from Here's a screenshot of the setting in an example project I just created (down at the bottom): My understanding is that prior to Xcode 6, the extension for test bundles was |
@tjarratt this worked for me. thx!!! |
@tjarratt I've already deleted my old test target in favor of my workaround from my previous comment, so I can't try that any more. |
@joshuatbrown if you are using git (or some other version control) for your project then you could check out an earlier commit, before you deleted the test target and try that out. Just a thought. |
Hey everyone, is this still an issue? Would appreciate if someone could try on Kiwi 2.3.1 / Xcode 6.1 and let me know how it goes. |
Hey @sharplet the interesting thing about this issue is that it should happen to anyone that takes an existing project (with Kiwi tests) from Xcode 5 and upgrades to Xcode 6. The extension for test bundles changed from I'm not aware of any fix that Kiwi could apply to fix this, but would love to know if there was one. The problem, as I see it, is that the project build configuration needs to be changed (so that the test bundle's extension is updated for Xcode 6). Since the failure occurs when the test bundle is injected, I don't think there's any way at all for Kiwi to quickly go and fix it at runtime. Is there a FAQ section for common problems when upgrading between Xcode versions? You might want to just document this as an Xcode defect. |
@tjarratt Changing the wrapper extension to |
@amol-c I have seen that issue before, but I think that's different to @joshuatbrown's original issue. Speaking of which, is it still happening or did @tjarrat's fix work? |
Hi, I'm spending a lot of time looking for a workaround. I'm using an existing workspace and Cocoapods and now I'm adding the XCTest target, but when I ran this on iPhone6 simulator, it says
While on other simulators (as iPhone4 and iPhone5 with different iOS version) it works fine. |
I'm having what appears to be a similar issue as #565 - my test bundle doesn't load in Xcode 6. It's an iOS app that's been around for a while, and I'm using CocoaPods to pull Kiwi in. Here's my environment:
And here's the error message:
The text was updated successfully, but these errors were encountered: