Apple platforms
Shipping Mac and iOS apps from the command line without opening Xcode
- Category: Apple
- Status: discussion
- Sources: write-up, HN 48896665
- Summary: A 2026-07-11 post by Scott Willsey describes building, signing, notarizing, and installing Mac and iOS apps entirely through command-line tools that ship inside Xcode.app without launching the IDE. The workflow uses XcodeGen to generate the project from a
project.yml,xcodebuildto archive and Developer ID sign,xcrun notarytoolandxcrun staplerto notarize and staple, anddevicectlto deploy to a device, all driven by onerelease.shscript with signing keys kept in the login keychain. The author frames the fully headless, scriptable pipeline as suited to AI coding agents. - Comments: A former Xcode-team engineer and other HN commenters report the same headless workflow, several noting that recent Claude Code versions now drive it autonomously. One warns that LLM-generated bespoke scripts duplicate what fastlane already solves for mobile release automation.
- Why it matters: A headless Apple build-and-release pipeline lets coding agents ship signed apps without GUI steps, though it overlaps with existing tools like fastlane.