Hello,
We are currently running SonarQube scans for our iOS repositories on ARM-based runners, and we are encountering an issue during the Swift analysis step. It appears the Swift analyzer binary may not be compatible with ARM architecture.
Environment
During the analysis we see the following error:
10:56:59.820 INFO Sensor Swift Code Quality and Security [swift]
10:56:59.820 INFO Sensor Swift Code Quality and Security is restricted to changed files only
10:57:01.535 ERROR [stderr] /home/runner/JobSeekerIOS/JobSeekerIOS/.scannerwork/.sonartmp/10919695486239909838/SonarSwift: cannot execute binary file
10:57:01.663 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: java.io.IOException: Stream closed
Could you please confirm whether the Swift analyzer plugin supports ARM architectures (ARM64 runners)?
Thanks,
Hello @Eman_Harri .
Thanks for reaching out!
Right now we’re in the transition phase for a new swift analyzer, that replaces an older one.
The new one doesn’t yet support linux-arm64 (only macos-arm64), that’s where the exception is coming from.
It should not result in a crash, so we’ll be working on improving this behavior.
For the new swift analyzer we’re working on adding support for linux-arm64 soon, however it will likely not be part of 2026.1 backport, but included in a future release of SonarQube Server.
As a workaround you can enable the old deprecated analyzer manually though, by
setting the internal property sonar.featureflag.mobile-security-use-deprecated-swift-analyzer to true.
I’ll discuss with the squad how we will handle this issue.
Best
@Eman_Harri
Good news, we decided to backport the new swift analyzer for linux-arm64 to SonarQube Server 2026.1.
Once the next update to 2026.1 releases, you can benefit from it directly.
It should be released in the coming weeks, I’ll keep you posted.
Best
1 Like
Hi Jonas,
Thanks for the update, this is very helpful.
We’ll keep an eye on the upcoming 2026.1 update for linux-arm64 support.
Please keep us posted.
Thanks again.