Xccov-to-sonarqube-generic.sh does not support XCode 11

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
  • error observed (wrap logs/code around triple quote ``` for proper formatting)
  • steps to reproduce
  • potential workaround

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

Hello,

I recently upgraded XCode to 11 and have a problem with xccov-to-sonarqube-generic.sh

Same is reported in xccov-to-sonarqube-generic.sh does not support XCode 11 · Issue #63 · SonarSource/sonar-scanning-examples · GitHub

Is there any roadmap to address this issue? Having a Sonar on Swift code is must for my company and this is blocking our development.

Thank you

Hello,

PR with the fix for XCode 11 was merged recently (https://github.com/SonarSource/sonar-scanning-examples/commit/81dc6cadd7ed98302eca04100d842712f3e68cd5).

So https://github.com/SonarSource/sonar-scanning-examples/tree/master/swift-coverage should be up to date now

Hello,

We are trying to upgrade our project to Xcode 11 and have the new script which does work now. Unfortunately it takes over an hour to run. It seems a few others are having this issue https://github.com/SonarSource/sonar-scanning-examples/issues/68 and https://github.com/SonarSource/sonar-scanning-examples/issues/72. I have tried the 3 different solutions suggested and they are around the same speed or error out.

Any suggestions on getting this resolved?

Closing this thread as it’s 2yo, please open a new one if problem persists.