Launches the application.
- Xcode 7.2+
This call is synchronous. When it returns, the application is launched and ready to handle user events. Any failure in the launch sequence is reported as a test failure and halts the test at this point.
If the application is already running, this call will terminate the existing instance, to ensure a clean launch state for the newly launched instance.