xcode-debugging

Diagnose Xcode environment issues and produce prioritized remediation plans.

1.1k|81|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/CharlesWiltgen/Axiom --skill xcode-debugging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xcode-debugging
Source: https://github.com/CharlesWiltgen/Axiom/tree/main/plugins/axiom/skills/xcode-debugging
Command: npx skills add https://github.com/CharlesWiltgen/Axiom --skill xcode-debugging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the common frustration of "mysterious" Xcode issues like BUILD FAILED with no details, stale code execution, simulator hangs, or "No such module" errors. It provides an environment-first diagnostic approach to resolve 80% of these problems in minutes.

Core Features & Use Cases

  • Environment-First Diagnostics: Mandatory checks for zombie xcodebuild processes, stale Derived Data, and stuck simulator states before debugging code.
  • Quick Fix Workflows: Step-by-step solutions for common problems like "No such module," "Unable to boot simulator," and intermittent test failures.
  • Systematic Troubleshooting: A decision tree to quickly identify if the issue is environment-related or a genuine code bug, saving hours of wasted debugging.
  • Use Case: When your tests passed yesterday but are failing today with no code changes, use this skill to immediately clean Derived Data and rebuild, resolving 80% of such intermittent issues in minutes.

Quick Start

To check for zombie xcodebuild processes, run ps aux | grep -E "xcodebuild|Simulator" | grep -v grep in your terminal.

Frequently Asked Questions about xcode-debugging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Xcode build fail with no details or error messages?

BUILD FAILED errors with no details typically stem from stale Derived Data, zombie xcodebuild processes, or stuck simulator states rather than code issues. Clean Derived Data, terminate zombie processes using `ps aux | grep -E "xcodebuild|Simulator"`, and rebuild to resolve 80% of these cases in minutes.

How do I fix "No such module" errors in Xcode after SPM changes?

"No such module" errors after Swift Package Manager updates often indicate stale build artifacts. Delete Derived Data, terminate any running xcodebuild or Simulator processes, reset the simulator if needed, then perform a clean rebuild to restore module availability.

What should I do when my iOS simulator won't boot or hangs?

Simulator hangs and boot failures usually result from zombie Simulator processes or corrupted simulator state. Identify stuck processes with `ps aux | grep Simulator`, terminate them, reset the simulator, and verify Derived Data isn't excessively large before attempting a fresh boot.

How do I diagnose intermittent test failures with no code changes?

Intermittent failures without code changes indicate environment drift—stale Derived Data, zombie xcodebuild processes, or simulator state corruption. Apply environment-first diagnostics: clean Derived Data, purge zombie processes, reset simulators, then rebuild and retest.

Can I use environment cleanup to fix iOS and macOS project issues?

Yes. This approach applies to both iOS and macOS projects facing BUILD FAILED, test crashes, simulator hangs, or module errors. Environment-first diagnostics work across platforms by targeting Derived Data, xcodebuild processes, and simulator state—core issues independent of platform specifics.

What's the fastest way to resolve mysterious Xcode build problems?

Prioritize environment checks before debugging code: verify Derived Data size, enumerate and terminate zombie xcodebuild and Simulator processes, inspect simulator states, then execute standardized cleanup and rebuild sequences. This systematic approach resolves most mysterious failures faster than code-level debugging.