Xcode UI Test: simulator not visible while test running
Asked Answered
M

2

5

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.

Marcelline answered 17/12, 2020 at 19:49 Comment(2)
I have the same issueVittle
@PaulT. I posted an answer below, it fixed my issue, not sure if it's also the case for you.Marcelline
H
7

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

Helping answered 18/12, 2020 at 13:29 Comment(0)
M
2

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

Marcelline answered 18/12, 2020 at 7:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.