Am developing an existing iOS application and I have to write unit test cases for this project. It is building and running in Simulator 6.0. Whenever I try to test t
ARGH! This is a terribly frustrating issue that came out of the blue from my XCode 8.2
In my case it came down to removing my Tests target from the scheme, building and running the main app, then readding the Tests target to the 'Test' section.
It appears that the Tests target was trying to find something it wanted in the Derived Data which wasn't built yet. Running the app without trying to build tests too allowed the previously missing derived data to be prepared.
...Insanity is doing the same thing in XCode twice and expecting the same result :|