# Xcode 12.2 Beta 1 Released

**URL:** <https://discuss.circleci.com/t/xcode-12-2-beta-1-released/37460>\
**Category:** Announcements\
**Created:** [September 18, 2020, 8:50pm UTC](https://discuss.circleci.com/t/xcode-12-2-beta-1-released/37460 "2020-09-18T20:50:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bytesguy](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bytesguy](https://discuss.circleci.com/u/bytesguy)\
**Post date:** [September 18, 2020, 8:50pm UTC](https://discuss.circleci.com/t/xcode-12-2-beta-1-released/37460/1 "2020-09-18T20:50:59Z")

</div>

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:

```auto
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:

> **[Swift Package Manager fails to clone from private Git repositories](https://support.circleci.com/hc/en-us/articles/360044709573?input_string=unable%2Bto%2Baccess%2Bprivate%2Bswift%2Bpackage%2Brepository)**
>
> If you are using Swift Package Manager as part of the xcodebuild process, you may find that this fails with the following error message:
> xcodebuild: error: Could not resolve package dependencies:
> ...

* * *

**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](https://circle-macos-docs.s3.amazonaws.com/image-manifest/v3536/index.html) 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:

```auto
-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](https://circle-macos-docs.s3.amazonaws.com/image-manifest/v3864/index.html).
