i Have Added SonarQube(sonarqube-8.4.2.36762)(sonar-scanner-cli-4.4.0.2170-macosx) in My project
I am using Xcode 11.5, MacOS 10.15.7. Swift 5
I have updated my sonar properties correctly & running Sonar script by
-
sh /Applications/SonarQube/bin/macosx-universal-64/sonar.sh console
-
./run-sonar-swift.sh -v
But when i jump to sonar portal http://localhost:9000/dashboard?id=com.sample.Demo it shows 0% code coverage. Why?? & my project has 1.5% code coverage according to Slather(slather coverage -s --scheme Demo --workspace)
Here i am attching sonar-project.properties run-sonar-swift.sh file.
Where i am wrong?
Here the script log -
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 16.489s
INFO: Final Memory: 13M/50M
SonarDetails-shows0%codeCoverage.zip (7.7 KB)