• 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, xcodebuild to archive and Developer ID sign, xcrun notarytool and xcrun stapler to notarize and staple, and devicectl to deploy to a device, all driven by one release.sh script 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.

Send feedback on this story