Xcode 6 Editor doesn't recognize unit tests

ChaosSpeeder picture ChaosSpeeder · Nov 1, 2014 · Viewed 12.3k times · Source

I have a problem that the Xcode IDE 6 doesn't detect my swift unit test cases correctly. When I run the unit tests, all tests were executed.

But in the IDE while editing the unit tests aren't recognized. I have to run the whole unit test suite in order to run a single test.

I couldn't figure out how I avoid this glitch.

enter image description here

Answer

ChaosSpeeder picture ChaosSpeeder · Mar 20, 2015

Problem is solved. All I have to do is to launch the "Window -> Projects" window and delete the "Derived Data. After indexing all tests are working.

In the meanwhile apple is fixing the bugs in the Xcode 6.3 editor bit by bit.