SonarQube/SonarScanner integration with Xamarin.iOS getting unhandled exception on scanner end command

Published

I need to integrate SonarQube with my Xamarin.iOS project. I follow the following steps:

  1. install jdk 11
  2. install sonarqube
  3. install sonarscanner
  4. Executed commands on project root directory :
    mono sonar-scanner/sonarscanner/SonarScanner.MSBuild.exe begin /k:"projectname" /d:sonar.login="token"
  5. Build project : msbuild solution.slnf /t:Rebuild
  6. Executed : sonar-scanner/sonarscanner/SonarScanner.MSBuild.exe end /d:sonar.login="token"

After end command getting unhandled exception . Unhandled Exception:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/Appname’, CommandLine=’"-Dsonar.login=token" "-Dsonar.scanAllFiles=true" "-Dproject.settings=../.sonarqube/out/sonar-project.properties" "–from=ScannerMSBuild/5.3.1"’, CurrentDirectory=’..projectrootFolder’, Native error= Access denied

Stuck here, not able to scan the project. Please let me know anyone facing such issue on mac os , or any one able to scan the Xamarin.iOS project by using SonarScanner.

Source: Xamarin.ios Questions

Published
Categorised as Uncategorised Tagged , , , ,

Answers

Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq