Sonar Version: 8.5.1
Sonar Scanner: 4.5.0.2216
Plugin: backelite-sonar-swift-plugin-0.4.4
now getting error You must install a plugin that supports the language 'swift’
can you please share the exact steps of configuring the sonar into my swift projects.
What i did?
- Downloaded sonar qube and move it into application folder on mac and then rename it to sonar
- Downloaded sonar scanner and move it into application folder on mac and then rename it to sonarscanner
- Downloaded backelite-sonar-swift-plugin-0.4.4 and paste it into sonar/extensions/plugins
- started sonar server using sh sonar.sh console command
- moved to project path using terminal command
- created sonar-project.properties file into it
- added following properties
sonar.projectKey=abc
sonar.projectName=abc
#sonar.login=admin
#sonar.password=admin
sonar.login=47437e6a59f3c0b3939181f3e85d6ac44a1c5919
sonar.projectVersion=1.0
sonar.sources=abc
sonar.language=swift
Project description
sonar.projectDescription=“abc”
sonar.swift.project=abc.xcodeproj
sonar.swift.appName=abc
sonar.swift.appScheme=abc
#SonarQube Server URL
sonar.host.url=http://localhost:9000
excludes
sonar.exclusions=/node_modules/,/*.spec.ts,/*.css,/kisters/
- now run command sonar-scanner
- giving error You must install a plugin that supports the language 'swift’
- giving error **Please check the properties sonar.login and sonar.password.
**
Note: Please share me exact steps and all the thing required to install on my mac and the path where to keep all those files.
2)what should be the name of file created in the project “sonar-scanner.properties” or “sonar-project.properties”
3) all the properties mandate and required to mention in the sonar-project.properties file.
- in short i want a dummy project type sample.
And one thing more when run the command for my localhost:9000 it sometimes work but when run for some other dashboard url it generate above mentioned error.
Any help is needed for iOS Swift-5 project configuration.