explaingit

blackpaw-studio/xcode-remote

Analysis updated 2026-05-18

7PythonAudience · developerComplexity · 4/5LicenseSetup · hard

TLDR

xcode-remote lets an AI coding agent build an Xcode app on a headless Mac, launch it on a machine you can watch, and read back structured JSON results to act on.

Mindmap

mindmap
  root((xcode-remote))
    What it does
      Builds on headless Mac
      Launches on watched machine
      Returns structured JSON
    Tech stack
      Python
      Xcode
      SSH
    Use cases
      AI agent build and test loop
      Crash and error detection
      Physical iPhone testing
    Audience
      Developers using AI coding agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let an AI coding agent build an iOS or macOS app on a headless build server and see the result on a watched Mac.

USE CASE 2

Automatically detect build errors, crash signals, or launch failures from a structured JSON result and retry.

USE CASE 3

Test a real iPhone build by shipping and launching the app on a paired device from a headless machine.

What is it built with?

PythonXcodeSSH

How does it compare?

blackpaw-studio/xcode-remotealx-code/lingbot-video-1.3b-fp8andrewbergman/kuma-importer
Stars777
LanguagePythonPythonPython
Setup difficultyhardmoderate
Complexity4/52/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires two Macs, SSH key auth between them, Xcode, and for device testing a paired iPhone with manual code signing configured.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

xcode-remote is a command line tool built to help an AI coding agent build and test iOS or Mac apps even when the agent is running on a headless machine with no screen. Normally a coding agent working on a build server cannot see whether the app it just compiled actually opens correctly, but xcode-remote builds the project on that build machine, copies the finished app over SSH to a separate Mac you are actually watching, launches it there, and then reports back a single structured result showing whether the build succeeded, whether the app launched, recent logs, and any crash details. Setting it up requires a Mac with Xcode installed to do the building, and a second Mac reachable over SSH with key based login already configured, to actually run the app. For testing on a real iPhone rather than the simulator, the phone needs to already be paired to that second Mac with Developer Mode turned on. You install the tool with either the uv or pipx Python package installers, then configure a small settings file for your laptop connection details and a separate per project settings file for things like the app's scheme name. Once configured, running one command builds the app, ships it to the target machine, launches it, and prints a JSON object describing what happened, which an AI agent can read and act on directly, for example by fixing a reported compiler error and trying again, or by inspecting a crash signal. Building for a real iPhone from a machine with no interactive login session breaks Xcode's usual automatic code signing, so the tool works around this by only injecting the development team setting itself, while your own project must declare its full manual signing configuration. The project also ships an installable skill file that teaches AI coding assistants such as Claude Code or Cursor exactly when and how to call this tool and how to interpret its JSON output. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Set up xcode-remote's global config.toml with my laptop's SSH connection details and default simulator device.
Prompt 2
Run xcode-remote run for my project and explain the JSON result it returns.
Prompt 3
Configure manual code signing in my Xcode project so xcode-remote can build for a physical iPhone from a headless host.
Prompt 4
Install the xcode-remote agent skill into Claude Code so it knows when to invoke the tool.

Frequently asked questions

What is xcode-remote?

xcode-remote lets an AI coding agent build an Xcode app on a headless Mac, launch it on a machine you can watch, and read back structured JSON results to act on.

What language is xcode-remote written in?

Mainly Python. The stack also includes Python, Xcode, SSH.

What license does xcode-remote use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is xcode-remote to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is xcode-remote for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.