I probably did something wrong in the way I set up the test target. You can create a new test target (from New → Target → Unit Testing Bundle), configure it from an existing target, and it should be built and connected just fine, and you can import any existing files into the test class.
source
share