Start with these three checks
Verify node delivery and CI readiness separately. Being able to log in does not mean the runner can accept jobs; a successful build does not guarantee that signing and artifact uploads are configured correctly.
- 01Node is reachable
Handoff details are available in the console, SSH login works, and the current user and macOS environment are confirmed.
- 02Runner accepts jobs
The CI platform shows the runner as online, and test jobs are scheduled only to the labels configured for your team.
- 03Artifacts are delivered
Build, signing, and upload each pass, with logs and artifacts stored in a location controlled by your team.
Scope: the entire machine is assigned to one customer; it is not split between tenants. Multiple runners on the same machine still share its memory and disk.
01 · Provisioning
Record the order handoff details for your team
Prerequisite: the order is paid, and the console has provided the node handoff details. Ordering and delivery are separate steps; after payment, check that the instance shows its connection details.
Sign in to the console, open the relevant order or instance, and verify the selected plan, node, and billing period. Record the node IP, SSH port, SSH username, and remote desktop credentials in your team’s credential manager. Never commit connection details to a code repository.
- Use the node IP and port provided with this order. Do not reuse connection settings from another machine.
- Use remote desktop to check the graphical interface, signing settings, and system prompts that require interaction. Find connection details in the instance view after signing in.
- If the handoff details are missing or do not match the order, submit a console ticket with the order number and the status you see.
Result: your team can match an order to one dedicated physical machine and establish who manages credentials and the system. You can use both the macOS graphical interface and command line; this is not a virtual machine.
02 · Connect
Check the toolchain, then register a GitHub Actions runner
Prerequisite: you have SSH credentials and permission to manage runners for the repository or organisation. You have also downloaded and extracted the runner using the instructions provided by your CI platform for macOS ARM64. Generate the registration token when you need it; do not store it in a script long-term.
In the examples below, user@node stands for the account and address provided at handoff. Replace it with your actual details. If the supplied port is not the default, add the -p option to SSH. Verify the host fingerprint on first connection; do not disable host key checks to bypass the prompt.
Connect, register, and test a build
ssh user@node
whoami
sw_vers
uname -m
xcode-select -p
xcodebuild -version
cd "$HOME/actions-runner"
read -r -p "Repository URL: " REPOSITORY_URL
read -r -s -p "Runner registration token: " RUNNER_TOKEN
printf '\n'
./config.sh --url "$REPOSITORY_URL" --token "$RUNNER_TOKEN" \
--labels macos,arm64,xcode
unset RUNNER_TOKEN
./svc.sh install
./svc.sh start
./svc.sh status
cd "$HOME/project"
xcodebuild -list
xcodebuild -scheme YourScheme \
-destination 'generic/platform=iOS' build
Replace the directory, repository URL, and scheme in these commands with your project’s values. The final command assumes the project is checked out, dependencies are installed, and signing requirements are met.
Start by checking the actual output of sw_vers, uname -m, and xcodebuild -version. If the Xcode path does not meet your project’s requirements, an administrator should select the required installed version. Complete any licence or component prompts on first launch before registering production jobs.
After registration, the runner has the self-hosted, macOS, and ARM64 labels by default; the command also adds your team’s custom label. A workflow can target it with runs-on: [self-hosted, macOS, ARM64, xcode]. Labels control scheduling; they do not isolate disks, processes, or secrets.
Result: the platform shows the runner as online, and it accepts and completes a test job. ./svc.sh install installs the runner as a macOS user service. You still need to verify recovery after a restart, taking the user’s login state into account. A successful installation alone does not prove that unattended operation is ready.
Scope: these examples do not assume a concurrency level or build duration. Verify the full workflow with one runner first, then add workers based on real project memory peaks, disk usage, and signing requirements.
03 · Register
Match runner labels to the build environment
You can run GitLab Runner and Jenkins agents on a dedicated Mac mini. Before getting started, check platform version, macOS ARM64 support, and team permissions. Follow the current instructions from your CI platform, and do not reuse tokens from another project.
GitLab Runner
Prerequisite: you can create a project or group runner and have the runner authentication token generated by your platform. Install the version of GitLab Runner that supports your operating system.
Configure: run gitlab-runner register on the node and enter the instance URL and authentication details when prompted. For Xcode commands, choose the shell executor and set the macos, arm64, xcode tags.
Verify: check gitlab-runner list and gitlab-runner verify, then submit a test job with matching tags. Confirm the execution user, Xcode version, and artifact path.
Scope: shell jobs use the node’s environment directly. Do not expose signing keys or deployment credentials to untrusted merge requests.
Jenkins agent
Prerequisite: you can add nodes and configure credentials. The Java versions on the controller and agent meet the requirements for your Jenkins version.
Configure: create a dedicated node and set its remote working directory and the macos arm64 xcode label. Connect using the SSH or inbound agent method provided by the controller, and store credentials in the credentials manager.
Verify: confirm the node is online, then use agent { label 'macos && arm64 && xcode' } to schedule a test Pipeline. Print the user, working directory, and toolchain version.
Scope: the number of executors does not map directly to CPU cores. Start with one job, then adjust concurrency while monitoring resource contention.
Add explicit version labels for different Xcode versions, and make jobs match the system, architecture, and toolchain. Before changing the node’s default Xcode version, stop it from accepting new jobs and let current jobs finish. This avoids mixing build environments in a single release.
04 · Signing
Use a dedicated keychain for a controlled archive build
Prerequisite: your team has valid signing certificates, provisioning profiles, and encrypted match storage. Configure the decryption and keychain passwords as protected CI secrets. Confirm that log masking is working before you build.
The keychain is stored under ~/Library/Keychains/ for the user running the job. We recommend creating a dedicated CI keychain instead of relying on an unlocked keychain from an interactive desktop session. The template below assumes ci-signing.keychain-db has been created, added to the search list according to your team’s policy, and configured with the required certificate access.
Unlock the keychain, sync signing assets, and build
set -e
: "${KEYCHAIN_PASSWORD:?Missing keychain password}"
: "${MATCH_PASSWORD:?Missing match password}"
KEYCHAIN="$HOME/Library/Keychains/ci-signing.keychain-db"
security unlock-keychain -p "$KEYCHAIN_PASSWORD" "$KEYCHAIN"
trap 'security lock-keychain "$KEYCHAIN"' EXIT
bundle exec fastlane match appstore --readonly \
--keychain_name "$KEYCHAIN" \
--keychain_password "$KEYCHAIN_PASSWORD"
bundle exec fastlane gym \
--scheme YourScheme \
--export_method app-store \
--output_directory "$HOME/build-artifacts"
Example of successful output structure — not a log from this node
All required keys, certificates and provisioning profiles are installed
** ARCHIVE SUCCEEDED **
Successfully exported and compressed dSYM file
Successfully exported and signed the ipa file
Result: match can access existing signing assets, gym creates the archive and exported artifacts, and logs do not expose secret variables. If archiving succeeds but export fails, check the export method, provisioning profile, and certificate permissions separately rather than assuming the node connection is at fault.
A dedicated physical machine keeps your code, build caches, and keychain separate from other customers, but jobs on the same machine may run under the same user. Control who can change pipelines and trigger jobs with signing access, and lock the keychain when a job finishes. Do not enable shell tracing if it could print secret values.
05 · Operations
Set a disk budget before adding concurrent jobs
Record available disk space whenever you add a new Xcode version, simulator runtime, or large dependency. VMK M4 comes with a Mac mini M4 / 16GB RAM / 256GB SSD; VMK M4 Pro comes with a Mac mini M4 Pro / 64GB RAM / 2TB SSD. Source code size alone is not a reliable estimate of total disk requirements.
| Location | Purpose | Cleanup guidance and impact |
|---|---|---|
| DerivedData | ~/Library/Developer/Xcode/DerivedData/ | Start with project directories you no longer build. Xcode will recreate intermediate files on the next build, so do not delete them while a job is running. |
| Swift Package Manager | ~/Library/Caches/org.swift.swiftpm/ and SourcePackages/ under the project’s DerivedData directory | First check which cache locations are actually used by your Xcode version and project. Deleting them may trigger dependency downloads, resolution, and checkout again, so allow for network and build time. |
| CocoaPods | ~/Library/Caches/CocoaPods/ | Check the cache against your project’s dependency versions first, and keep the lockfile. Clearing the download cache does not remove the project’s Pods directory. |
| Archives and build artifacts | ~/Library/Developer/Xcode/Archives/ and your team’s artifact directory | Upload and verify archives, symbol files, and logs before deleting local copies. Your team decides how long to retain them. |
Run df -h to check filesystem space, then use du -sh to inspect specific directories. Do not run a deletion command that targets the entire user directory, and do not mistake certificates, keychains, or project configuration for cache files.
If a 256GB model needs to retain multiple Xcode versions, project caches, and local archives at once—or still lacks enough space for the next full build after cleanup—you can add +1TB SSD, from $2.9/day. Additional storage is billed for the same period as the host. Check how it will be mounted and which directory to use before ordering; expanded storage does not automatically move existing caches.
Data centre and team responsibilities
| Responsible party | Responsibilities | Handling issues |
|---|---|---|
| VMKoi and the data centre | Node power, upstream network, cooling, and hardware replacement. | Report suspected hardware faults through a support ticket. Once confirmed, the whole machine will be replaced; automatic migration between nodes is not guaranteed. |
| Your team | System updates, Xcode selection, dependency versions, runner processes, signing configuration, and data backups. | Pause jobs and save configuration before making changes. After an update, recheck connectivity, service recovery, builds, and signing. |
Year-round availability describes how nodes are operated; it does not mean hardware can never fail. Keep code, signing assets, build artifacts, and recovery steps in a location your team controls. Replacing a machine does not automatically restore data from its original disk. Check renewal status before your billing period ends and make any necessary backups in advance.
06 · Support tickets
Include the minimum details needed to reproduce the issue
Prerequisite: first identify whether the issue is connecting to the machine, a runner not accepting jobs, a toolchain error, or a signing failure. For technical issues, submit a ticket from the console after signing in so it can be linked to the order and node. For pre-sales questions or if you cannot sign in, use the email option on the contact page.
- 01Identify the resource
Include the order number, node, and model. Do not attach full SSH passwords, private keys, signing certificates, or registration tokens.
- 02Note the time
Give the time the issue first occurred, the time zone, whether it is ongoing, and when the last successful job ran.
- 03Describe what happened
State the expected and actual results, steps to reproduce, and any recent changes. For connection issues, include the client error; for build issues, include the failing command.
- 04Attach a short log excerpt
Include the first error and nearby context. Redact credentials, sensitive repository URLs, and customer data before sharing log excerpts.
Result: an engineer can connect the symptoms to a specific instance and identify the layer at fault. Add checks and updates to the same ticket rather than creating multiple unlinked reports for one issue.
Service scope: we can help investigate node delivery, connectivity, and hardware issues. We do not write or maintain customer CI scripts on an ongoing basis. There is no phone hotline; contact us through console tickets or by email at support@vmkoi.com.