Problem with SonarQube and XCode Version 16.2 (16C5032a)

Hi,

Using SonarQube to build Xcode projects written using Object C, Object C++, C++ and Swift does not work anymore.

Our environment:

Sonar Scanner : 7.0.2.4839
Sonar Qube : Enterprise edition v2025.1 (102418)

MAC OS : 15.3.1 (24D70)

XCode : 16.2 (16C5032a)

For our use case, we use a compilation database.

The SonarQube analysis used to work with previous versions of MAC OS and Xcode but now I have this error:

17:38:31.420 ERROR Error during SonarScanner Engine execution

java.lang.IllegalStateException: “vfsoverlay” file used during build doesn’t exist, please make sure you are not cleaning build files before launching the analysis. The missing file: /Users/jenkins/build/workspace/AFEAPP-4783_new_navigation_EDGYN/DerivedData/EDGYN/Build/Intermediates.noindex/SAFE.build/Debug-iphonesimulator/EDGYN.build/all-product-headers.yaml

I don’t know what the problem is here.

Any help would be appreciated.

Best regards,

Eric SAUVAGEAU

Hi,

I’m going to start with the dumb question:

Does the file exist?

 
Ann

Hi,
Thanks for your reply.

No, the “vfsoverlay” file does not exist.

Hi,

Well, I don’t think that’s a file we produce. You’ll need to figure out what’s happening to it.

 
Ann