I'm using Unit Testing in XCode 4. I've been adding my application *.m files to the unit test target "compile sources" as I refer to them so the unit test will build/run.
Is there a better way here?
Note - I've just tried adding the application to the unit test target "target dependencies", but this didn't seem to work (still get some build errors).