Some background:
I have iOS application with a target configured to run unitTests. And I am running build automation tool jenkins on my MacBook whic
App will still launch but you can #if to define what you don't want to run.
Test by duplicating Debug (Project > Info > create new configuration)Build Settings > Active Compilation Conditions for Test add TESTING#if !TESTING #endif around the code you don't want to execute when testing.If you have embedded frameworks, create the same build configuration in the framework, so that the framework binary is properly linked.