I know that Xcode requires the simulator to launch while running a unit test. During my CI builds, I run unit tests. Sometimes the simulator hangs up the tests, and the tests complete once I dismiss the simulator.
Is there a way to test: 1. If we are in "test mode" in the app delegate 2. If we can programatically dismiss the simulator, either as soon as it appears or after x amount of time.
I wrote an AppleScript that will quit the simulator... I suppose I could launch it from Xcode. Does anyone know how to launch a script in a method?