Hi, Is there any recommended way to run SonarLint locally in XCode for Swift language?
Thanks in advance
- D
Hi, Is there any recommended way to run SonarLint locally in XCode for Swift language?
Thanks in advance
Hi @DNair,
SonarLint is not available for Xcode. You can analyze your code using SonarCloud or SonarQube.
Thanks for the reply.
Can you please suggest any counterpart for Sonarlint in Xcode which is compatible with SonarQube.
In my organisation we have a central SonarQube server and the scanning is a part of build pipeline along with code merge.
My requirement is to have a local scanner which generate reports that is matching with the SonarQube scanner results before I push my changes to remote.
Thanks
D
Hi @DNair,
unfortunately swift is not supported by any SonarLint IDE integration. If your workflow foresee pull-requests you can setup pull-requests analysis to spot issues before they get into master branch.
Thanks.
What about running sonar-scanner during iOS build? Can we run the scan locally in a branch?
Are there any plans to add an integration to Xcode in the future?
Apple being somewhat “closed”, is it even possible?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.