Xcode Cloud fails to build macOS tests

When executing the test target of my Multiplatform App, Xcode Cloud fails with the following error:

Assertions: System: Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: Test crashed with signal abrt before starting test execution. If you believe this error represents a bug, please attach the result bundle at /Volumes/workspace/resultbundle.xcresult)

This only happens for macOS, iOS runs fine. Also locally everything runs as expected.

Xcode Cloud fails to build macOS tests
 
 
Q