iOS analysis failing in Azure DevOps pipeline

Hi community,

we’re running into an error while running analysis for our iOS build in Azure DevOps pipeline. It last ran successfully on July 7th and when we tried to run it again on July 17th, it failed while Android analysis is still running fine:

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Pipeline task used: SonarCloudAnalyze@3
  • Languages of the repository: Typescript (React Native)
  • Error observed:
    java.lang.RuntimeException: Received error from bridge: {"code":"GENERAL_ERROR","message":"Cannot read properties of undefined (reading 'replace')
    I can provide the complete logs in a private conversation.

EDIT:
Pipeline host: Microsoft hosted MacOS
Logs: Attached after redacting
Sonar Pipeline Logs_Redacted.txt (39.8 KB)

Hey there!

Can you at least share what’s going on before this point in the logs? Is a specific file being analyzed? Something else?

In general, when possible, we prefer redacted logs shared publicly.

Hi Colin,

I have edited the post to include the redacted logs.

Thanks.

Hello @Rishab.Sharma,

Could you verify, which node version you running? We currently require the node version to match: ^18.20.0 || ^20.12.0 || >=22.11.0.

Please let me know if that helps!

Kind regards,
Michal

Hello,

The node version with the failing analysis was 20.11.1. After updating it to 22.11.0, the analysis is successful for iOS too. Thank you for helping resolve this!

Note - The Android analysis (on a Linux host) was successful with node version 20.11.1.

Regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.