Trying to get SonarQube configured for our Xcode project. I created a new SonarQube project and followed the steps with the build wrapper and didn’t have any issues there. After running the Scanner we get an “ERROR: Error during SonarScanner execution java.lang.IllegalStateException: An error occurred while analyzing the following compilation unit:” error.
I can not attach the generated sonar-cfamily-reproducer.zip file because it exceeds the 4MB size limit for uploads.
The terminal output mentioned providing that file to SonarSource support, is this the correct method of doing so?
@jblaker-brightcove, The referenced issue is already fixed.
The issue you are facing is generic, will have to look at the reproducer to diagnose.
if this is the only file failing you can exclude it from the analysis using sonar.exclusions until I have a deeper look.