Heuristic
Heuristic

Reputation: 5341

Xcode UI Test: simulator not visible while test running

I'm running into an issue when running UITests in Xcode the simulator is launched but not visible, the tests still run fine, but I can't see what's happening.

Simulator Launched

I believe the test is running because I can see all the output, and if I make something wrong on purpose, the debug output correctly shows it as well. If I run the main target, or unit test target, the simulator is visible, the problem is only with UI tests.

I tried to clean the project, remove derived data, and even restarted the machine but no help.

Upvotes: 5

Views: 1331

Answers (2)

Roman Zakharov
Roman Zakharov

Reputation: 2273

There is a dedicated option in Simulator Menu under Debug tab enter image description here

Upvotes: 7

Heuristic
Heuristic

Reputation: 5341

I fixed the issue by disabling parallel testing in Edit Scheme -> Tests -> *UITest -> Options.

Upvotes: 2

Related Questions