Based on this work, that @Dan2552 pointed out.
Instructions:
- Clone this gist (
git clone https://gist.github.com/6201428.git hide_ios_simulator
) - Xcode -> Preferences -> Behavior -> Testing -> Generates output
- Run script -> Choose script -> Select
hide_simulator