View xcode coverage data by folder
Go from this:
To this:
Find xcresults file from Report navigator in Xcode:
You can then drag and drop, or use open dialog to read the file.
Run
xcrun xccov view --report --json <.xcresult file> | pbcopyto copy coverage json. Paste the output to Coverage Dirs (it will already be in clipboard because of pbcopy)
You can open JSON input in Coverage Dirs in: File > Input JSON (⌘ + I )



