On XCode 12.0.1, I have this intermittent error, is there any way to fix this?
t = 0.19s Open <bundle_id>
t = 0.29s Launch <bundle_id>
<unknown>:0: error: -[<test_name>] : activate application '<XCUIApplicationImpl: 0x600000842d00 <bundle_id> at <app_path>' (current state: Running Background)
t = 61.11s Setting up automation session
t = 61.13s Wait for <bundle_id> to idle
The test continues running for a while, but it failed because of the error during the launch step (0.29s - 61.11s).
Also, notice an unexpected long launching here, it normally just takes 10-15s for this step.
Thanks