Xcode 12.2 Beta 1 Released

The Xcode 12.2 Beta 1 image has just been released and can be selected as follows:

macos:
    xcode: 12.2.0

This Xcode release replaces Xcode 12 beta 6 for macOS and Apple Silicon Developers. We will redirect requests for 12.0.0-beta, formally Xcode 12 beta 6, to 12.2.0. This automatic redirection will end on 5 October 2020, so please update your config files as soon as possible.

If you are still requesting 12.0.0-UA, from the early Xcode 12 beta releases, in your config please be aware that this version number has been deprecated and will be removed on 5 October 2020. Please update your config to request 12.0.0


Swift Package Manager Issues

Some customers have reported issues retrieving Swift packages at build time via Swift Package Manager. This appears to be an issue introduced with Xcode 12 GM on top of existing issues continuing from Xcode 11. From initial investigations, this appears to be an Xcode bug, rather than a CircleCI specific issue, but we will continue to monitor this.

You may receive the following error message in your job:

xcodebuild: error: Could not resolve package dependencies:
  The server SSH fingerprint failed to verify.

To resolve this, please use the workaround outlined in the following article:


Ruby Changes

As a result of the System Ruby (2.6.3) becoming increasingly incompatible with various gems (especially those which require native extensions) due to the way it is secured and recent changes to clang, we have decided to switch the default Ruby to 2.7 via chruby.

This should allow greater compatibility out of the box with gems moving forward and will resolve most of the issues people have been hitting with Ruby in the recent Xcode 12 releases. For the vast majority of users this switch will be transparent as common gems, such as Fastlane, run without issues on 2.7.

We still provide Ruby 2.5 and 2.6 which you can switch to and the System Ruby can still be switched to via chruby by adding the following to the start of your job:

-run: echo 'chruby system' >> ~/.bash_profile

Software Updates

We are shipping Cocoapods 1.10 rc1 as the default Cocoapods version as this version is compatible with Xcode 12.



Image Info

Xcode 12.2 Build version 12B5018i is installed at /Applications/Xcode-12.2.beta.app

The following runtimes are installed:

  • iOS 13.5
  • iOS 14.2
  • tvOS 13.4
  • tvOS 14.2
  • watchOS 6.2
  • watchOS 7.1

The full manifest of installed software can be found here.