1

I was scanning a swift project on my sonar server.And at the end of the scan I got this error.

com.sonarsource.A.A.B.A: No license for swift

All the other .Net and Java projects are working fine. Only the issue is with swift project.

sonar.projectKey=VendorCompar-iOS
sonar.projectVersion=$BUILD_NUMBER
sonar.projectName=VendorCompar - iOS
sonar.sources=.
sonar.verbose=true
sonar.log.level=TRACE
#sonar.language=swift
sonar.sourceEncoding=UTF-8

1 Answer 1

3

The Swift plugin is a commercial plugin and you need a licence to be able to analyze swift projects : https://www.sonarsource.com/products/codeanalyzers/sonarswift.html

4
  • Link only answers are subject to be removed. Please add some description to your answer. Jun 28, 2017 at 5:32
  • 1
    This not a link only answer. I think the answer is correct. In this case it is short, but contains the information needed. Namely, buy a license. Jun 28, 2017 at 8:00
  • I agreed woth Niels and Eric.So dont i have any free way to scan my SWIFT code?
    – ChathuD
    Jun 29, 2017 at 13:39
  • There is an alternative : if your code is opensource you can analyze it for free on sonarcloud.io, note that there is a paid plan if it's closed source. Jun 30, 2017 at 15:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.