Job was rejected because resource class macos.m4pro.medium, image xcode:14.3.1 is not a valid resource class

I’m testing and building several OSS projects on CircleCI. Today one of my projects broke.
I suspect it has to do with: MacOS default resource class updated to m4pro.medium - CircleCI Changelog

In my circleci.yml I had:

macos:
xcode: "14.0.1"

and also xcode “13.4.1”

I want to use the lowest possible version so I can target users with older machines as well.

When reading this article: Using the macOS execution environment :: CircleCI Documentation I expected I could upgrade at least to 14.3.1. Is this not true?

EDIT: changed category

Adding the resource class explicitly does work. Looks like a breaking change?

  xcode: "14.3.1"
  resource_class: m4pro.medium

@borkdude We resolved an issue affecting configs that did not explicitly set the Mac resource_class. You can read more about that here.

If you would still like to use Xcode versions 14.0.1 and 13.4.1, you would just have to specify resource_class: macos.m1.medium.gen1 as they are not available on M4 resource classes.

Thanks. I’m fine with upgrading since I have to do this anyway, the m1 will be going away in a few months I believe so this is fine.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.