SonarCloud integration with iOS Swift projects

  • ALM used (Azure DevOps)
  • CI system used (Azure DevOps
  • Languages of the repository (Swift)
  • Only if the SonarCloud project is public, the URL
    SonarCloud
  • I followed the documentation to run code analysis on my iOS app but errors/ code smells are reported, you can find that in this file I put force unwrap that will cause the app to crash but nothing was reported

azure pipeline link: https://dev.azure.com/Smaat-Signify/SonarCloud-Test/_build?definitionId=219

Hey there.

ERROR: Error during parsing of the generic coverage report '/Users/runner/work/1/s/Coverage.xml'. Look at SonarQube documentation to know the expected XML format.

It looks like you’re passing a coverage report of the wrong format which is making analysis fail.

First things first, if you remove sonar.coverageReportPaths, does the analysis proceed?