[TIMOB-12809] Fixed bug with piping the iOS Simulator log. Also rearrang...

...ed some of the logic with launching the iOS Simulator.