Swift project License Check

Hello all, we use SonarQube 10.1 for our company projects.
We mostly use it via Fastlane for projects and custom shell scripts for packages on our GitLab pipeline.

The problem we have now, is that we want to integrate the License Check, but I honestly couldn’t find much information on how to do it for a Swift project using Fastlane or anything else.

I know that Fastlane has the sonar_runner_args parameter, could this be helpful, if so, what would be the argument? Or potentially what would be the format, if we did it in another way and how can I uploaded that than to Sonar?


Welcome to the community!

I guess you’re talking about the License-Check plugin? Based on its README, it’s not compatible with Swift. Perhaps there’s some other tool for Swift? Once you run it, you can look at converting its output to a format SonarQube understands.


Oh okay, I thought that’s something built in, my bad. Thanks anyway.

Well than I have to look somewhere else.

I found this article in the meantime, haven’t tested it yet, if anyone is interested.