You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement SonarQube in my iOS project. I'm doing it on an M2 Macbook Pro running Ventura 13.2.1 and Xcode 14.3.1. I am using SonarScanner to help do it. I have tried creating the coverage report manually using Slather and it can actually work and show the code coverage. However I can't seem to send it to SonarQube dashboard. It always shows the message "The main branch has no lines of code." This is the sonar-project.properties file:
New Issue Checklist
Issue Description
I'm trying to implement SonarQube in my iOS project. I'm doing it on an M2 Macbook Pro running Ventura 13.2.1 and Xcode 14.3.1. I am using SonarScanner to help do it. I have tried creating the coverage report manually using Slather and it can actually work and show the code coverage. However I can't seem to send it to SonarQube dashboard. It always shows the message
"The main branch has no lines of code."
This is thesonar-project.properties
file:This is the verbose log from Sonar:
As you can see, I'm not sure why but
**/*Test*/**
and**/*.swift
are excluded even though I cannot see them in the exclusions. Can you guys help me?Thanks.
Command executed
./run-sonar-swift.sh
Complete output when running fastlane, including the stack trace and command used
From the log, I saw that there is somehting peculiar here:
Environment
Rig: M1 Macbook Pro
MacOS: Ventura 13.2.1
Xcode: Xcode 14.3.1.
The text was updated successfully, but these errors were encountered: