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

retyui

Davyd NRB

Posted on February 11, 2024

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

💖 💪 🙅 🚩
retyui
Davyd NRB

Posted on February 11, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related