Moving to SONAR 2025-LTA / xcode 16.2 errors

Moving to SONAR 2025-LTA / xcode 16.2 errors, Same basical set up we have been using for years.


We had this error.

13:06:57.361 ERROR Error during SonarScanner Engine execution

[3551](https://gitlab.tcc.li/climate/mobile/ios/fieldview-ios/-/jobs/6657437#L3551)
java.lang.IllegalStateException: unexpanded response file

I turned off … Set CLANG_USE_RESPONSE_FILE=NO
As suggested in some past posts.
Even tho it is supposed to be supported these days.


Now we have this new error.

4:30:19.250 ERROR Error during SonarScanner Engine execution

[8091](https://gitlab.tcc.li/climate/mobile/ios/fieldview-ios/-/jobs/6658509#L8091)java.lang.IllegalStateException: java.io.IOException: Cannot run program "/Users/gitlabbuilder/builds/Y2xtzNbxx/0/climate/mobile/ios/fieldview-ios/.scannerwork/.sonartmp/13885465396710666237/subprocess" (in directory "/Users/gitlabbuilder/builds/

Y2xtzNbxx/0/climate/mobile/ios/fieldview-ios/Pods/nanopb/pb_encode.c"): error=20,

 Not a directory

This is correct this is very much not a directory
and yes this path does exist.


Any ideas?

Hi,

Could we have the full analysis log? Also, what language is this? Your mention of CLANG... makes me think it’s in the C family?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann