lundi 29 décembre 2014

Programmatically dismissing simulator

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.


Maybe I should write a script using AppleScript that I can include in my project and call upon it if the build has been running for more than x amount of time?


Aucun commentaire:

Enregistrer un commentaire