GitHub Actions Self-Hosted Mac Runner Offline? 2026 Troubleshooting Guide

DevOps & CI/CD ·~11 min read

GitHub Actions Self-Hosted Mac Runner Offline? 2026 Troubleshooting Guide

GitHub says a self-hosted runner receives three default labels: self-hosted, its operating system, and its architecture (label documentation). A workflow that asks for labels the available Mac does not have will not assign a job to it.

Runner offline or a job stuck in the queue → check the runner process first, then verify runs-on labels, network access, and whether another job is using the Mac. Don’t reinstall Xcode until you know the job has reached the runner.

For independent iOS developers whose configured Runner appears offline or has stopped accepting work.
For small app teams trying to remove CI’s dependence on a teammate’s Mac being awake.
For developers moving from hosted runners who need to diagnose self-hosted status, labels, or network setup.

Start by identifying which failure you have

“Offline,” “queued,” and “build failed” describe different points in the workflow. Treating them as the same problem can lead you to change the wrong layer: reinstalling the runner application won’t fix an Xcode signing error, and changing a certificate won’t bring an offline host back online.

Use the GitHub job page and the repository’s runner list to classify the failure before changing anything:

What you see What it usually tells you First check
Runner is offline in settings GitHub cannot currently see that runner as available Is the runner application or configured service running?
Runner is online, but the job is queued No available runner matches the job, or a matching runner is occupied Compare runs-on with the runner’s labels and status
Job has started, then fails The Runner accepted the job; investigate the build environment Read the failing build step and check Xcode, signing, dependencies, and disk

This distinction matters for iOS automatic builds. A job can wait because its Mac is disconnected, because its requested labels match no available runner, or because all matching runners are busy. A build that starts and then exits with an error is no longer an offline-runner problem.

The GitHub self-hosted runner reference explains the host requirements and the need for a running Runner application. The monitoring and troubleshooting guide for macOS runners is the next stop when the GitHub status and the Mac’s local status disagree.

Why does a self-hosted Mac Runner show offline?

A self-hosted Mac Runner shows offline when GitHub is not receiving a usable connection from the runner application. Start on the Mac, not in the workflow YAML: confirm the application or service is running, then check its diagnostic logs and recent host changes.

Check the runner service before restarting anything

If you configured the runner as a macOS service, open Terminal on the Mac and run the service-status command from the runner’s installation directory:

./svc.sh status

Use the result to decide the next check. If the service is inactive, look at the local service status and recent diagnostic logs before starting it. If it reports as running while GitHub still shows offline, investigate the connection path and runner logs rather than repeatedly restarting the service.

GitHub’s macOS service configuration instructions document service installation and control. If the runner was never installed as a service, ./svc.sh status won’t establish that it starts automatically. Check how the runner was launched and what account runs it.

Runner diagnostics are kept in the runner’s _diag directory. Look for the newest files and correlate their timestamps with the outage. A shutdown, macOS update, account change, or service configuration change may explain why the process stopped. Avoid deleting the runner directory or reconfiguring its registration until you have checked the existing logs; doing so can remove useful evidence without fixing the cause.

A successful service check only confirms the local service state. It does not prove that the Mac can reach every GitHub service the runner needs.

How do you make a Mac runner reconnect after a reboot?

Configure the runner as a service if you need it to launch without manually opening a Terminal session after a restart. From the runner directory, follow GitHub’s documented setup:

./svc.sh install
./svc.sh start
./svc.sh status

The exact setup depends on how the runner was configured and which account should run it. Follow the official service instructions for your installation rather than copying commands into an unrelated directory. After a restart, check both sides: confirm the service is active on the Mac and confirm the runner appears online in the repository or organization settings.

If service status is healthy but the runner remains offline, record when it last connected and inspect the newest _diag files. Then check DNS, proxy settings, and outbound access. A Mac that is asleep, shut down, or disconnected from its network cannot accept a job, even if the workflow and service configuration were correct before it went offline.

What if the Mac runner is online but jobs stay queued?

An online runner can still leave a job queued if the job’s requested labels do not match it, if the runner is not eligible for that repository, or if every eligible runner is occupied. Compare the workflow and the runner settings before changing the host.

Can a runs-on label mismatch stop a runner from taking jobs?

Yes. GitHub assigns a self-hosted job only to a runner that meets its requirements. For a job using a list of labels, the runner needs to match the requested labels; being online alone is not enough. The documentation on choosing a runner for a job describes how runs-on selects a runner, and GitHub’s label guidance explains default and custom labels.

Compare the exact workflow value with the labels shown for the online Mac. Check spelling, punctuation, capitalization, and whether a custom label was actually added to that runner. Also confirm that the workflow requests the intended operating system and architecture. A label is a scheduling requirement; it does not install software or change the hardware.

Check What to compare What to do if it does not match
Default labels self-hosted, the operating-system label, and the architecture label Correct the job requirements or register an eligible runner
Custom labels Every custom label in runs-on against the runner’s displayed labels Add the required label to the intended runner or update the workflow
Runner availability Online and idle status for runners that meet the job’s requirements Wait for a busy runner or make another eligible runner available
Runner access Whether the runner is available to the repository or organization running the workflow Check runner group and repository access settings

For example, compare the job’s actual YAML with the labels shown in GitHub rather than assuming the Mac has a label because its name suggests a capability:

jobs:
  build:
    runs-on: [self-hosted, macOS, ARM64, ios-build]

The label ios-build in this example must exist on an eligible runner. A workflow can remain queued if the label is missing, even while a different Mac Runner is online. If every requested label matches, check whether the matching runner is busy and whether it is permitted to serve the repository.

Check runner scope and job availability

A repository may not be able to use a runner that exists elsewhere in an organization. Confirm that the runner is registered at the intended scope and that the repository is allowed to use it. Then look at the queued job’s status and the runner list to see whether an eligible Mac is already processing work.

Do not infer a label problem just because the queue is slow. If a matching runner is busy, the job may simply be waiting its turn. If a matching runner is idle and the job remains queued, revisit the workflow requirements and access settings. GitHub’s runner-selection documentation is the source of truth for how job requirements and runner availability affect assignment.

Check the connection when GitHub cannot reach the Mac

If the service is running and the labels match but the runner still appears offline, check the path from the Mac to GitHub. A network-policy change, proxy configuration, DNS failure, or blocked outbound connection can interrupt communication even when local macOS services look healthy.

Start with the Mac’s current network and proxy settings:

scutil --proxy
networksetup -getdnsservers Wi-Fi
curl -I https://github.com

The network service may not be named Wi-Fi on your Mac, so check the active service name before relying on that command. A successful request to the main GitHub site is only a basic connectivity check. It does not prove that all services required by a self-hosted runner are reachable.

Use GitHub’s self-hosted runner network requirements to review the required outbound access. If your network uses a proxy, compare its configuration with GitHub’s proxy setup guidance. Avoid opening broad inbound access as a first response; diagnose the documented outbound requirements and your own network policy instead.

Compare the time the runner went offline with changes to the network, proxy, DNS, firewall rules, or host power state. Then check the newest files in _diag for connection errors or signs that the runner process stopped. Keep a note of which checks you performed and their results. That makes it easier to distinguish a host outage from a workflow or permission change if the issue returns.

Investigate Xcode only after the Runner accepts the job

When the job starts and a build step fails, move on from connection troubleshooting. Read the first failing step in the workflow log. Its position and error context help distinguish project compilation from dependency installation, code signing, or a local resource problem.

Check which Xcode installation the runner will use:

xcodebuild -version
xcode-select -p
df -h /

Compare the installed Xcode and macOS versions with the project’s requirements. Apple’s Xcode system requirements lists the macOS compatibility requirements for each Xcode release. Verify the relevant release against your actual project configuration; do not assume that installing the newest Xcode is correct for every app.

Then investigate the failing layer:

This separation prevents expensive, low-value changes. Re-registering a healthy Runner will not fix an invalid signing setup, and installing a different Xcode release will not fix a workflow that asks for a label no runner has.

Decide whether the Mac itself is the recurring failure

Use the cause you found—not the fact that the job was delayed—to decide whether another host is needed.

Before moving an iOS build to a remote Mac, verify the required macOS and Xcode combination, dependency setup, signing-key access, repository permissions, and log-retention process. Decide who will maintain updates and investigate failures. Protect credentials using a deliberate secret-management process; a CI host should not become an unmanaged place where signing material is copied and forgotten.

If you are assessing how to access a managed Mac, review the VMCommit quickstart and the available VMCommit plans to confirm whether their current terms fit your workflow. Those pages are the place to verify service details; this troubleshooting guide does not assume a particular machine configuration or promise a specific build result.

A local Mac remains sensible if you can keep it available and want direct physical access. A remote Mac is worth considering when local shutdowns, sleep, or network interruptions repeatedly prevent iOS automatic builds from starting. Compared with a consistently available host, relying on someone’s personal Mac can mean jobs wait for manual wake-up, the connection varies with that person’s network, and maintenance is tied to their schedule. Renting a Mac through VMCommit can give you a separate environment to evaluate for that use case, but you still own Runner setup, macOS and Xcode maintenance, and credential handling. If the root cause is a label or script error, fix that first; changing hosts will not solve it.

Further reading

Choose a rental term

Give Your CI Runner a Dedicated Mac Host

Rent a dedicated physical Mac mini from VMCommit for your macOS build jobs.

Rent a Mac mini