I've run unit tests from the command line like this:
xcodebuild \
-resultBundlePath Example.xcresult \
-workspace Example.xcworkspace \
-scheme Example \
-destination "platform=iOS Simulator,name=iPhone 8" \
test
and now I'd like to get the coverage report as JSON, but xccov fails with Error: unrecognized file format:
xcrun xccov view --json Example.xcresult