Xcode 13.3.1 running test fail with `Test runner never began executing tests after launching`

We recently moved to Xcode 13 (13.3.1) and now when we run our tests the take enormous time and then fail with this error

encountered an error (Test runner never began executing tests after launching

As per suggestion else where we ran our test on iOS 14.5 simulator. They were successfully but it took 54 minutes (usually they take 6 mins). So iOS 14 as simulator destination is not workaround for us.

I took a spindump while test were running on simulator 15.4 attaching them.

Need help!

Answered by dinesh_hudinwal in 711504022

As seen in the spindump, Pendo was blocking the main thread. Updating it to latest version thankfully fixed this problem.

PS: Pendo seems to use AsyncDisplayKit internally and there is a ticket for this there https://github.com/TextureGroup/Texture/issues/2029

Cheers!

I can see that one of the pods that we use Pendo is there in stack trace. I will try updating it to latest version and see if it fixes the problem

Accepted Answer

As seen in the spindump, Pendo was blocking the main thread. Updating it to latest version thankfully fixed this problem.

PS: Pendo seems to use AsyncDisplayKit internally and there is a ticket for this there https://github.com/TextureGroup/Texture/issues/2029

Cheers!

Xcode 13.3.1 running test fail with `Test runner never began executing tests after launching`
 
 
Q