We’re having an issue where some of our builds (all expecting Xcode 12.5.1) are incorrectly finding Xcode 12.5 on the build agent. These are on the same build plan and were kicked off within seconds of each other
Failing build (https://app.bitrise.io/build/45443ba8-1eb6-47b4-9c7f-8cce0b6481a8#?tab=log):
[22:08:17]: --- Step: ensure_xcode_version ---
[22:08:17]: ----------------------------------
[22:08:17]: $ xcversion selected
[22:08:20]: ▸ Xcode 12.5
[22:08:20]: ▸ Build version 12E262
[22:08:20]: Selected Xcode version is not correct: 12.5. You expected 12.5.1.
[22:08:20]: To correct this, use: `xcode_select(version: 12.5.1)`.
+------------------+---------------------------------------+
| Lane Context |
+------------------+---------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios download_development_certificates |
+------------------+---------------------------------------+
[22:08:20]: Selected Xcode version doesn't match your requirement.
Expected: Xcode 12.5.1
Actual: Xcode 12.5
Successful build (https://app.bitrise.io/build/46a7f222-e325-4351-b7ea-4def3365a02f#?tab=log)
[22:08:26]: ----------------------------------
[22:08:26]: --- Step: ensure_xcode_version ---
[22:08:26]: ----------------------------------
[22:08:26]: $ xcversion selected
[22:08:28]: ▸ Xcode 12.5.1
[22:08:28]: ▸ Build version 12E507
[22:08:28]: Selected Xcode version is correct: 12.5.1