Xcode 12.5.1 Released

The Xcode 12.5.1 image has just been released and can be selected as follows:

macos:
    xcode: 12.5.1

:warning: As per our Xcode Image Policy the 12.5.1 image supersedes the 12.5.0 image. The 12.5.0 image will be removed within the next few days and jobs will be redirected to 12.5.1 :warning:

Image Info

Xcode 12.5.1 Build version 12E507 is installed at /Applications/Xcode-12.5.1.app

The following runtimes are installed:

  • iOS 13.7
  • iOS 14.5
  • tvOS 13.4
  • tvOS 14.5
  • watchOS 6.2
  • watchOS 7.4

The full manifest of installed software can be found here .

1 Like

Are there any plans to support “semver-style” range matching for Xcode versions, or any other sort of meta tags? For example xcode: '~> 12.4' # would match the latest 12.x release

For the tinfoil-hat dependency paranoia folks like me, “magically” updating a 12.5.0 dependency to 12.5.1 is the stuff of nightmares (or really, changing anything with the build system that makes the same code produce a different build artifact.) At least with semver-style (or similar) version constraints, it would be explicit that we’re not guaranteed the same exact version.

Hello :wave:

This would be the ideal solution, but it is not something we can implement right now. Please feel free to open an idea request for this though so we can gather thoughts on this for the future:

We always try to make these incremental patch images as close to the original image as possible. In terms of Xcode, it is fairly uncommon that Apple introduces a breaking change in a patch version. We do monitor feedback and test for breaking changes, so in rare cases we can restore access to the previous version if required.

Hi there,

I have reason to believe that sometimes the Xcode installation lives at /Applications/Xcode-12.5.1.app, and sometimes it lives at /Applications/Xcode.app, which is causing some non-deterministic failing behaviors in our macos jobs.

There’s another discussion thread related to what we are experiencing CircleCI fails to open Xcode - #2 by shzhng. After doing some debugging it seems that xcode-select -p returns the a directory of /Applications/Xcode-12.5.1.app/Contents/Developer, however that directory doesn’t actually exist

1 Like