Clean, build, test and control simulators — without looking up flags, without switching windows. A single keyboard-driven terminal menu for Apple development. It is not affiliated with Apple or Xcode.
Every Apple developer knows the friction. xcodex removes it.
xcodebuild, simctl, devicectl — each with its own flags and syntax. xcodex knows them all. You don't have to.
Build, test, clean, and manage simulators — all from one terminal interface. No Xcode window required.
git clone · chmod +x · alias — done. No npm, no Homebrew packages, no config files. Run from your project root in seconds.
Everything you need — accessible from a single, clear interface.
Remove build artifacts, clear DerivedData, Simulator caches and Module Cache in one step.
Resolve and inspect SPM, CocoaPods and Carthage — without memorizing a single flag.
Build and launch with preset optimizations — Quick Reset, Full Reset or straight Build & Run. Isolated DerivedData, every time.
Launch, restart, reset, screenshot, record. Toggle Dark/Light Mode — all without leaving the terminal.
Unit tests, UI tests, or all tests at once — with automatically applied build optimizations and 3-state result reporting.
Install, launch and stream logs directly on iPhones and iPads — auto-detected, no Xcode GUI needed.
Categories on the left, actions on the right. Navigate with arrow keys, execute with Enter. Settings persist automatically between sessions.
Navigate within the active pane
Switch between category and action pane
Execute the selected command
Quit the application
Not just a wrapper around xcodebuild. Thoughtfully designed for real developer workflows.
Xcode writes all build artifacts into a shared DerivedData folder under ~/Library/Developer/Xcode/DerivedData/. Compiled files, index data, logs and temporary build products from all projects land there simultaneously. When Xcode is indexing in the background, another build is running, or old artifacts remain from a previous project, silent conflicts occur: builds fail for unclear reasons, caches get reused incorrectly, errors can't be reproduced. The classic fix — "Clean Build Folder" — deletes everything and rebuilds from zero, but costs time and doesn't address the root cause.
xcodex builds into its own DerivedData folder — completely independent from Xcode. Both can run simultaneously without interfering. Every run starts in a fresh environment: no old artifacts, no side effects. If something breaks, you know immediately: it's the current state — not a cache from yesterday.
Check out any branch or commit, build locally and launch — without touching your development environment. Parallel builds let you compare different project states cleanly. No risk, no merge conflicts, no context loss.
The CLI tool xcodex makes Apple development accessible to the whole team.
Your daily workflow, streamlined. Build, test, clean — without interrupting your focus in the editor.
Familiar terminal interface. Check out the iOS codebase, build and test — no Xcode knowledge required.
No TestFlight waiting. Build directly from source, test on any iOS version. Press A, configure once — done.
See changes in context immediately, on different iOS versions. Present the current build — without developer assistance.
The right tool for each task. xcodex is a powerful complement, not a replacement.
| Task | Xcode | xcodex |
|---|---|---|
| Feature development, breakpoints, debugging | ✓ | — |
| Fast build + launch on simulator | — | ✓ |
| Cache cleanup when Xcode has issues | — | ✓ |
| Tests on multiple iOS versions | — | ✓ |
| SPM / CocoaPods / Carthage update | — | ✓ |
| Screenshots & screen recordings | — | ✓ |
| Debugging on physical device | ✓ | — |
| Deploy app to physical device (simple) | — | ✓ |
Das Kommandozeilen-Tool xcodex' bringt die wichtigsten Aufgaben rund um Xcode an einen Ort. Builds ausführen, Tests starten, Simulatoren steuern, Screenshots aufnehmen, Caches bereinigen und wiederkehrende Abläufe schneller erledigen – alles direkt im Terminal, klar strukturiert und auf den Entwickleralltag ausgelegt.
| Bereich | Typische Tools | Mit xcodex |
|---|---|---|
| Build & Test | xcodebuild, fastlane | Schnellere, zentrale Standardabläufe |
| Simulator | simctl, idb | Einfachere Steuerung von Simulator und Medien |
| Projekt-Workflow | verschiedene Einzeltools | Wiederkehrende Aufgaben in einem Menü |
| Xcode-Umgebung | xcodes, Xcodes.app | Fokus auf die tägliche Projektarbeit |
| Entwickleralltag | viele Kommandos und Tools | Weniger Wechsel, mehr Übersicht |
Das Kommandozeilen-Tool xcodex ersetzt nicht jedes Spezialwerkzeug – es verbindet die tägliche Praxis dazwischen. Während andere Tools einzelne Teilbereiche abdecken, bündelt xcodex die Aufgaben, die im Alltag ständig wiederkommen, in einer einheitlichen Terminal-Oberfläche.
Multi-Simulator before every PR — iOS 16, 17, 18 without waiting for CI
No TestFlight waiting — QA and POs build directly from source
Android-developer friendly — familiar terminal, no Xcode knowledge needed
Granular cache control — no more blunt "Clean Build Folder"
Build timeline — see immediately what slows down your build
All package managers in one place — SPM, CocoaPods, Carthage
Isolated builds — no side effects from yesterday's cache
Settings persist — schema, device, config remembered between sessions
Physical device support — deploy and test without the Xcode GUI
Free, no accounts, no infrastructure — ready in minutes
Four commands. No build tools, no package managers, no config files.
git clone https://github.com/drapatzc/xcodex.git ~/GIT-Home/xcodex
chmod +x ~/GIT-Home/xcodex/xcodex
echo 'alias xcodex="$HOME/GIT-Home/xcodex/xcodex"' >> ~/.zshrc
source ~/.zshrc
cd YourXcodeProject
xcodex
xcodex automatically detects .xcworkspace or .xcodeproj files in the current directory.
cd ~/GIT-Home/xcodex && git pull
I build software for the Apple ecosystem — native iOS and macOS apps, developer tools and games. My focus is on products that are technically clean, practically useful and independently valuable.
Personal website, projects, contact and background on my development work.
christiandrapatz.de →AI-powered macOS tools for iOS and macOS developers.
Independent iOS games — developed and published in the Apple ecosystem.
Practical apps for iOS and macOS — clear concepts, standalone products.
If this tool saves you time every day and you'd like to support further development, a small PayPal donation is warmly welcome. Every contribution helps keep the project alive.
Donations are voluntary and do not change the license, features or any warranty.
No subscriptions, no feature gates, no hidden conditions.
This software is provided without any warranty. Use is at your own risk. The author is not liable for damages arising from its use.
© 2026 Christian Drapatz
All rights reserved