Test target X encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted (Underlying error: Test runner exited before starting test execution.))

I am running unit tests from terminal with below commands. Sometime they executed well, some time not. I am using Xcode 11. Can someone help me 
xcodebuild \
-workspace MyApp.xcworkspace \
-scheme MyScheme \
-configuration Debug \
-sdk iphonesimulator \
-derivedDataPath "BuildBinaryForTest" \
-destination platform=iOS\ Simulator,name=iPhone\ 11 \
clean test | tee xcodebuild.log | xcpretty
I am getting below error
UnitTest:
MyApp.app (19571) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying error: Test runner exited before starting test execution.))

Replies

I am also experiencing this same issue! any help would be appreciated

Also, seeing this - using a Mac build station. Xcode 11.2.1. Been seeing this for about 1 year now...tbh