I’ve just released a new image, with Xcode 11.2 Beta 2, running on Catalina.
You can select this image by selecting 11.2.0
as follows:
jobs:
build:
macos:
xcode: 11.2.0
This is the first image that we’ve built with Catalina, so there might be some bugs – please let us know if you find anything out of the ordinary.
Highlights
- The OS has been upgraded to macOS
10.15 (19A602)
Catalina. - Ruby is
2.6.3
- The default shell is
bash --login
. - Xcode Xcode 11.2 Beta 2 Build 11B44
- The runtimes installed are:
- iOS 11.4
- iOS 12.2
- iOS 13.2
- tvOS 12.2
- tvOS 13.2
- watchOS 5.2
- watchOS 6.1
The manifest of installed software is here.
Ruby
The last few releases of Xcode on CircleCI were problematic for Ruby users, due to issues with how Xcode 11 shipped the macOS SDK. This forced us to make some breaking changes with Ruby. My hope is that upgrading to Catalina will resolve these issues, and using Ruby will be more straight forward.
- The system Ruby that comes bundled with 10.15 is
2.6.3
. This is the only Ruby on the path by default. -
chruby
is installed, and is on the path, but there are no additional Rubies installed in the image. -
chruby
auto-switching is not enabled by default. You can switch it on yourself should you wish.
Shells
Catalina ships with zsh
as the default shells, but with CircleCI, the default shell is still bash
. By default, commands on macOS run with /bin/bash --login -eo pipefail -c $COMMAND
.
You can customize the shell for an executor
, job
or run
command, which will allow you too run a command with zsh
, should you wish:
jobs:
build:
macos:
xcode: 11.2.0
shell: zsh
steps:
- run: echo Hello from zsh.