DEV Community

Cover image for Maximize Speed: Enabling Apple M1 Arm64 Runner for Swift iOS Builds on GitHub Actions
Davyd NRB
Davyd NRB

Posted on • Updated on

Maximize Speed: Enabling Apple M1 Arm64 Runner for Swift iOS Builds on GitHub Actions

Reputed as one of the top CI/CD service providers is Github Action. Recently, support for M1 Apple chips was added. 

Switching to arm64 runner will speed up your iOS builds and cost the same amount of money $0.08/min, see: Github Actions pricing: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates

One crucial step is to activate macos-14, in you your .github/workflows/<name>.yml

jobs:
  deploy-ios-to-test-flight:
-    runs-on: macos-12 # xcode 14
+    runs-on: macos-14 # M1 and Xcode 15.0.1
Enter fullscreen mode Exit fullscreen mode

System info:

Also, here the list of all tools/software pre-installed by default: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode

Top comments (0)