According to the official scanner docs, both the swift and Obj-C sonarsource scanners want code coverage data and in different ways (build-wrapper vs xccov). But this got me thinking, code coverage is for an entire target/project in xcode, not just files for a particular language . So for a mixed Obj-C and swift project, does SonarQube want the same entire-project-xcode-generated coverage data twice (once per scanner)? If not, how does it relate code coverage for a particular language in a sonar project, or does it not care at all?
Only asking this because again, and much to my surprise, the docs for the two scanners list different code coverage instructions, leading the user to wonder if each scanner doesn’t expect the data to be mixed together like it is with xcode and a mixed obj-c swift project (i.e. its the same data)