Open msaehn opened 6 years ago
Hi @papierschiff,
You are right. To support Swift Package Manager we should write a specific run script. This could be a possible future enhancement.
Hello @zippy1978 is there any work in progress about this? Would be really helpful for us as we're building packages and want to use sonar easily without having to add an Xcode project (as Bundle.module can't work in an xcodeproj). Thanks :)
At the moment sonar-swift only supports xcode-projects, but there are projects without a workspace / project, that are configured only with a package.swift. In this case the
run-sonar-swift.sh
-script fails with the errorERROR - sonar.swift.project or/and sonar.swift.workspace parameter is missing in sonar-project.properties. You must specify which projects (comma-separated list) are application code or which workspace and project to use.