Skip to content

Commit

Permalink
use last stable xcode 12 for mac builds
Browse files Browse the repository at this point in the history
Certain terraform-exec tests run versions of Terraform earlier than 0.12 in order to test compatibility behaviour.

Any version of Terraform complied with Go < 1.11 causes errors when run on macOS Monterey 12 or later, which corresponds to Xcode version 13 or later. Please see the following pages for more information:
https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue
https://xcodereleases.com/

We must therefore use Xcode 12 for these tests. CircleCI supports only the latest stable version, currently v12.5.1.

When Xcode 16 is released, CircleCI will drop support for Xcode 12, so we will need to resolve this problem another way.
  • Loading branch information
kmoe committed Aug 18, 2022
1 parent 495b9eb commit f06fcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# combined due to slowness of Go install
macosbuildtest:
macos:
xcode: "12.0.0"
xcode: "12.5.1"
steps:
- macos_install_go
- checkout
Expand Down

0 comments on commit f06fcd5

Please sign in to comment.