Build failed to compile with Xcode-14.2 - Found multiple versions of Xcode in '/Applications/'

Description of the issue

Build failed to compile with Xcode-14.2 - Found multiple versions of Xcode in ‘/Applications/’ . In our local machine with same Xcode version project is successfully compiled.

Environment:

Where did the issue happen?

Xcode 14.2.x, on macOS 13.0 (Ventura)
Gen2 EliteXL

Which build Step causes the issue and which version of the step?
During compiling step

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app . : NO
  • Does the issue happen sporadically, or every time? : EVERY TIME
  • Does upgrading the build Step to the latest version help? : NO, ALREADY THE LATEST
  • When did the issue start? : After Xcode Migration

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.

In our local machine with same Xcode version project is successfully compiled.

Build Logs