CoreMacs News
Explainers and guides on macOS, Xcode, Apple Silicon and running Macs in production.

tart run over SSH fails: SecKeyCreateRandomKey_ios failed or "Failed to get current host key"
Since macOS 15, Virtualization.framework needs an unlocked login keychain in the session that starts a macOS VM. Over SSH, as root or from a daemon it is locked or missing. Run the VM as the logged-in user and unlock the login keychain first.

Xcode 27 Validate App stuck at Preparing: the dwarfdump-classic "bad CPU type" fix
On Apple silicon Macs, Xcode 27 validation and upload can hang at Preparing when xcrun resolves dwarfdump-classic to an old Intel-only Command Line Tools copy and Rosetta is missing. Move that copy aside and select Xcode.

"No route to host" from a LaunchAgent on macOS 15: fixing Local Network access for CI runners
On macOS 15 and later, launchd agents are not automatically allowed on the local network, so runner jobs fail with "No route to host" and the approval prompt may never appear. Fix the binary's identity, record an approval once, run as a daemon, or exempt the subnet.

When Xcode Cloud is enough, and when a dedicated Mac mini runner pays off
Apple Developer Program membership includes 25 Xcode Cloud compute hours a month, while a self-hosted Mac runner trades convenience for control. Here is what Apple states, how compute time adds up, what to verify, and a checklist for choosing.

Code signing in CI without the pain: temporary keychains, profiles and API keys
A headless build cannot answer a keychain prompt. This guide covers what Apple code signing needs in CI: identities, a per-job keychain, profiles and the Xcode 16 folder change, manual versus automatic signing, API keys and common errors.

Setting up a self-hosted GitHub Actions runner on a Mac mini
A Mac mini can run your GitHub Actions jobs for macOS and Xcode builds. This guide covers registering the runner, installing it as a launchd service, login sessions, labels, ephemeral setups, updates and GitHub's warning about public repositories.

What the macOS license says about renting Macs and running virtual machines
Apple's license for macOS Tahoe 26 answers two questions for anyone renting Macs for builds: how many macOS virtual machines one Mac may run, and on what terms the software may be leased. A plain-language reading.

Notarizing a macOS app with notarytool: what changed and how to automate it
Apple's notary service stopped accepting uploads from altool on November 1, 2023. This explainer covers what notarization checks, how notarytool stores credentials, waits for results and fetches logs, why stapling matters, and how to script it in CI.

Uploading builds to App Store Connect from CI with API keys, not Apple IDs
Build servers cannot answer two-factor prompts, so App Store Connect API keys can replace Apple ID logins in CI. This guide covers key basics, Apple's upload tools, the altool question and key safety.

Choosing an Apple Silicon Mac mini for Xcode builds: what actually matters
Picking an M6 or M5 Pro Mac mini for Xcode and CI depends less on the chip name than on memory headroom, disk space and how many jobs run at once. Here is a guide and a rule-of-thumb checklist.

Running several Xcode versions side by side on one Mac
Teams rarely move every project to a new Xcode on the same day. This guide shows how to keep several versions on one Mac, switch between them safely, pin one per project or CI job, and prepare each copy for unattended use.

Faster iOS builds on CI: what to cache and what never to cache
Caching can shorten iOS pipelines, but a stale DerivedData folder or a mismatched toolchain can make builds slower or wrong. This analysis separates safe, risky and harmful cache targets, and explains why measuring comes before any optimisation.

Managing iOS simulators in CI: runtimes, simctl and parallel testing
A CI Mac that runs iOS tests needs predictable simulators. This guide covers the simctl lifecycle, installing and pinning runtimes with xcodebuild, parallel testing options, recovering from stuck boots, and keeping disk usage in check on long-lived build machines.

Running a headless Mac mini for UI tests: displays, sessions and resolution
A Mac mini with no monitor can build code and still fail UI tests or screen capture. This checklist covers the logged-in session, auto-login, dummy plugs versus virtual displays, Screen Sharing, resolution checks and keeping the screen awake.

Remote access to a Mac: SSH, Screen Sharing and no exposed ports
A headless or rack-mounted Mac needs two doors: a shell and a screen. This guide shows how to switch both on, lock SSH to keys, understand Remote Management, and keep every port off the public internet.

A security hardening checklist for a remote or rented Mac
Nobody sits beside a remote Mac to catch a weak default. This checklist covers the protections Apple and GitHub document, from FileVault and SSH to CI secrets, and what each one costs on a headless machine.

Rosetta 2 in CI pipelines: find the Intel-only tools before macOS 28
Apple says general Rosetta support ends after macOS 27, and Xcode 27 already runs only on Apple silicon. Here is how to install Rosetta unattended on a build Mac, find translated tools and retire them.

Flutter and React Native iOS builds on a Mac: the failures you will actually meet
Flutter and React Native iOS builds can break where Xcode, Node, Ruby, CocoaPods and the framework SDK meet. This guide covers Mac tooling, SwiftPM and the CocoaPods trunk change, CI signing, and version pinning.

Updating macOS on build machines without breaking your CI
A macOS update on a CI Mac changes the toolchain underneath your pipeline. This analysis covers Xcode compatibility checks, staging one machine first, the softwareupdate command, deferral, rollback planning, and how to announce maintenance windows to the team.

Keeping a Mac mini always on: pmset, sleep settings and power-failure recovery
A Mac mini that serves builds or remote sessions has to stay awake and come back on its own after an outage. This guide covers the key pmset settings, Apple's related Energy options and a checklist for unattended recovery.

Disk hygiene on a build Mac: DerivedData, simulators, caches and snapshots
A build Mac rarely fills its disk in one step; build products, simulator runtimes and caches accumulate quietly. This checklist shows how to measure each source, what is safe to remove, and how to automate cleanup and alerts.

Provisioning a fresh Mac reproducibly: Homebrew Bundle, version managers and scripts
A new build or developer Mac does not need hand configuration. This guide covers a repeatable setup: Command Line Tools, a Brewfile, pinned Ruby and Node, fastlane through Bundler, dotfiles in git and a smoke test.

Where should your Mac live? Region, latency and data location for remote builds
A remote Mac's location shapes terminal responsiveness, artifact transfer times, who can help at 3 a.m. and where your code and signing keys legally sit. Here is how to weigh and measure each factor.
CoreMacs News articles are general information for developers and teams. Check Apple's and your tool vendors' current documentation before acting. This site is not affiliated with Apple. RSS
