If no image is specified, the macOS runner uses `macos-13-xcode-14`.
If no image is specified, the macOS runner uses `macos-14-xcode-15`.
## Image update policy for macOS
...
...
@@ -50,6 +50,8 @@ Major and minor releases of macOS and Xcode, are made available within two weeks
A new major release image is initially made available as beta, and becomes generally available (GA) with the release of the first minor release.
Because only two GA images are supported at a time, the oldest image becomes deprecated and will be removed after three months according to the [supported image lifecycle](../index.md#supported-image-lifecycle).
When a new major release is GA, it becomes the default image for all macOS jobs.
## Example `.gitlab-ci.yml` file
The following sample `.gitlab-ci.yml` file shows how to start using the hosted runners on macOS: