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.))