Skip to content
CoreMacs
~/news

CoreMacs News

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

A silver Mac mini seen from the rear on a wooden desk, with power, HDMI and Thunderbolt cables plugged into its ports.
Apple SiliconGuide

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.

·7 min read
A silver Mac mini on a wooden desk beside a plant, a small lamp and part of a laptop.
XcodeGuide

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.

·6 min read
A silver Mac mini on a wooden desk with power and USB-C cables plugged into its rear ports, beside a display and keyboard.
Security & signingGuide

"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.

·7 min read
A small silver Mac mini stacked on a larger Mac Studio on a dark desk, with a plant and a monitor behind.
CI/CDAnalysis

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.

·5 min read
A silver Mac Studio style computer on a wooden desk beside a keyboard, with a display and plant behind.
Security & signingGuide

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.

·5 min read
Two silver Mac minis stacked on a dark desk, seen from the rear with power and network cables plugged in.
CI/CDGuide

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.

·5 min read
A Mac mini and a Mac Studio side by side on a wooden desk, with a potted plant in the background.
Mac infrastructureExplainer

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.

·5 min read
A silver Mac Studio on a grey desk beside a display, a white keyboard, a notebook and a potted plant.
Security & signingExplainer

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.

·5 min read
A Mac mini on a wooden desk beside a display showing a colorful macOS desktop with dock, keyboard and mouse.
CI/CDGuide

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.

·5 min read
A silver Mac Studio floats above a flat Mac mini against a soft lavender gradient background.
Apple SiliconAnalysis

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.

·5 min read
Two silver Mac mini computers on a wooden table, one standing upright and one lying flat, against a blue-purple background.
XcodeGuide

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.

·5 min read
Rear view of an opened silver Mac Studio showing its ports, vent holes and internal frame with a plant nearby.
XcodeAnalysis

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.

·5 min read
A Mac Studio on a dark desk beside a display, keyboard, mouse, tablet on a stand and headphones.
XcodeGuide

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.

·5 min read
Rear view of a silver Mac mini on a wooden desk, showing its power, Ethernet, Thunderbolt, HDMI and USB ports.
Mac infrastructureChecklist

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.

·5 min read
Rear of a silver Mac Studio with Ethernet, Thunderbolt, USB and HDMI ports and cables plugged in, on a wooden desk.
Mac infrastructureGuide

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.

·5 min read
A silver Mac mini with the Apple logo on top, photographed against a dark background.
Security & signingChecklist

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.

·5 min read
Two Mac mini computers side by side, a silver one on the left and a space-grey one on the right.
Apple SiliconExplainer

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.

·5 min read
A silver Mac mini on a wooden developer desk with a display, keyboard, black mouse, warm lamp and plant.
CI/CDGuide

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.

·5 min read
A Mac Studio on a wooden desk beside a large display showing the macOS desktop, with a keyboard and a mouse.
macOSAnalysis

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.

·5 min read
Rear of a silver Mac mini with power, Ethernet, HDMI and USB-C cables plugged in, beside a laptop.
Mac infrastructureChecklist

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.

·5 min read
An opened Mac mini seen from above, with a screwdriver at the SSD module on the logic board.
macOSChecklist

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.

·5 min read
A Mac mini beside its white retail box and a coiled power cable on a wooden desk.
macOSGuide

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.

·6 min read
A stack of two Mac minis on top of a Mac Studio seen from the rear, with their ports visible, on a wooden table.
Mac infrastructureAnalysis

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.

·5 min read

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