When creating a new project with unit tests, Xcode sets the build configuration to Debug for the Test scheme (same for the Run scheme).
Should I differentiate betwee
On iOS, [UIApplication sharedApplication] will return nil when a unit test is running.
[UIApplication sharedApplication]
nil