Another issue that you should pay attention to (although it may not be an OP problem) is that your unit test package is hosted on a test platform (your application), and this is a problem with the initialization of the application, your tests will freeze.
There is rdar: rdar: // 7333645 here, which suggests not initializing NSApplicationMain
The diagnosis for this is to make an assembly. If it freezes, stop the build.
Manually try to run the application (Cmd-Option-R or Cmd-Option-Y) - if the application does not appear, check the console.
source share