For me, the issue was that my scheme didn’t have the test project listed. Go to Product->Scheme->Edit Scheme then choose Test on the left, and add the tests to this scheme.
For me, the issue was that my scheme didn’t have the test project listed. Go to Product->Scheme->Edit Scheme then choose Test on the left, and add the tests to this scheme.