This article explains how to develop, build, and deploy Mac and iOS applications using a headless command-line workflow instead of the Xcode GUI. It details how to leverage Xcode's internal tools and shell scripts to automate the entire release process, making it ideal for integration with LLM coding tools.
Highlights
Xcode must be installed for its toolchain, but the GUI is not required for building or shipping apps.
Key command-line tools include xcodebuild, notarytool, stapler, and devicectl.
A single shell script can automate the entire chain from archiving to installation.
The workflow is highly compatible with 'vibe-coding' and LLM-based development tools.
A one-time setup is required for Apple ID, Developer ID certificates, and keychain configuration.