You may have a scenario that requires you to run an application of kind Application (Intel) on an Apple Silicon / M1 resource. This can be done by installing Rosetta. Rosetta acts as a translation layer on Apple Silicon versions of macOS, which allows macOS to run Application (Intel) kind applications.
Installing Rosetta
Rosetta can be installed using CircleCI's macOS orb.
orbs:
macos: circleci/macos@2.4.1
jobs:
build:
macos:
xcode: "14.3.1"
resource_class: macos.m1.medium.gen1
steps:
- macos/install-rosetta
...
Testing on iOS Simulators
You may find that your testing tooling still requires Intel-based architecture. In this case you might need to start your iOS Simulator in Rosetta mode to support any Intel-based binaries. You can do that by configuring Fastlane scan to run the simulator with run_rosetta_simulator: true
Comments
Article is closed for comments.