Hi - I’m getting an error while i’m trying to to use ios-executor with resource class macos.m1.medium.gen1
according to the documentation but i’m getting the error below:
macOS Gen1 being sunsetted on October 2. Our “medium”, “large” and Dedicated Host macOS resource classes will no longer be available after October 2. Please update your config to avoid build errors. Learn more
Here’s my circleci cofig file
version: 2.1
orbs:
macos: circleci/macos@2
executors:
ios-executor:
resource_class: macos.m1.medium.gen1
macos:
xcode: '14.13.1'
working_directory: ~/repo/testflight
commands:
configure-bundler:
description: Configure Bundler & Install Gems
steps:
- run:
name: Set Bundler version
command: |
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
source $BASH_ENV
gem install bundler
- run:
name: Installing gems with bundle install
command: bundle check || bundle install --path vendor/bundle
switch-ruby-version:
description: 'Set Ruby Version'
steps:
- macos/switch-ruby:
version: "3.2.2"
jobs:
test-lint-json:
executor: ios-executor
steps:
- checkout:
path: ~/repo
- switch-ruby-version
- configure-bundler
- run:
name: Running json lint check
command: |
bundle exec jsonlint fastlane/**/*.json
The job fails before it starts and it doesn’t spin up an environment