Skip to content
Skill

Xcode build fixer

Applies approved Xcode build fixes one at a time and re-benchmarks the results

Xcode build fixer is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Xcode build fixer

This skill takes an optimization plan that a developer has already reviewed and approved, then carries out the listed changes. It covers build settings in project.pbxproj, script phase guards and declared inputs and outputs, source-level fixes such as explicit types and access control, and Swift Package Manager dependency adjustments. Each change is applied separately, checked with an xcodebuild build, and reverted if compilation fails.

After all approved changes compile, the agent re-runs the benchmark with the original baseline parameters and produces an execution report table comparing before and after timings. Changes are marked kept, reverted, blocked or no improvement. Standard best-practice settings such as compilation caching and eager linking are retained even when a single run shows no gain, while speculative changes are dropped only if they regress across build types.

The skill expects a plan file at .build-benchmark/optimization-plan.md and an Xcode project that can be built from the command line. It is a Claude Code plugin skill, with reference documents on build settings, fix patterns and recommendation format.

When your agent uses it

Implement approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement. Use when the developer has reviewed an optimization plan and approved specific changes, or when there is a clear list of build-setting or source-level fixes to apply and verify.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the xcode-build-suite plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add carloshpdoc/ios-workflow-claude
/plugin install xcode-build-suite@carloshpdoc-plugins

Or copy only this skill to ~/.claude/skills/xcode-build-fixer:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/xcode-build-fixer &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-fixer" ~/.claude/skills/xcode-build-fixer &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/xcode-build-fixer inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/xcode-build-fixer to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/xcode-build-fixer &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-fixer" ~/.agents/skills/xcode-build-fixer &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/xcode-build-fixer inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/xcode-build-fixer to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/xcode-build-fixer &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-fixer" ~/.cursor/skills/xcode-build-fixer &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/xcode-build-fixer inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/carloshpdoc/ios-workflow-claude.git --path plugins/xcode-build-suite/skills/xcode-build-fixer

Or copy the folder to ~/.gemini/skills/xcode-build-fixer yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/xcode-build-fixer:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/xcode-build-fixer &&
cp -R "$tmp/plugins/xcode-build-suite/skills/xcode-build-fixer" ~/.copilot/skills/xcode-build-fixer &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/xcode-build-fixer inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude.git

Then copy ios-workflow-claude/plugins/xcode-build-suite/skills/xcode-build-fixer into your agent's skills folder as xcode-build-fixer. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Build setting changes
Applies approved project.pbxproj values such as debug information format, compilation caching and eager linking.
Script phase fixes
Adds configuration guards and declared input and output files to build script phases.
Source-level optimizations
Covers explicit type annotations, final classes, narrower access control and split SwiftUI bodies.
Swift package restructuring
Pins branch-tracked dependencies and separates interfaces from implementation modules.
Compile check per change
Runs xcodebuild after each change and reverts any edit that breaks compilation.
Before and after report
Re-benchmarks with the original parameters and outputs a table of timing deltas per change.

Good for

  • Apply the build setting changes I approved in my optimization plan
  • Guard my release-only build script so it skips in Debug
  • Pin my branch-tracked Swift packages to version tags and verify the build
  • Re-benchmark my Xcode project after the approved fixes and report the timings
  • Split a large SwiftUI body into subviews and confirm the project still compiles

Xcode build fixer FAQ

When does Xcode build fixer trigger?

It is meant for cases where the developer has reviewed an optimization plan and approved specific changes, or has a clear list of build-setting or source-level fixes to apply and verify.

What does Xcode build fixer need before it runs?

It reads approved items from .build-benchmark/optimization-plan.md, so that plan file needs to exist. It also runs xcodebuild, so the project must build from the command line.

Will Xcode build fixer change code without approval?

No. The rules say it only applies changes with explicit developer approval, one logical fix at a time.

Does Xcode build fixer revert settings that do not improve timing?

Best-practice settings like COMPILATION_CACHING and EAGER_LINKING are kept even without a benchmark gain. Speculative changes are reverted only if they regress across all build types.

How do I install Xcode build fixer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/xcode-build-fixer to use it in all your projects, or to .claude/skills/xcode-build-fixer in one project. Or install the xcode-build-suite plugin, which includes it: /plugin marketplace add carloshpdoc/ios-workflow-claude, then /plugin install xcode-build-suite@carloshpdoc-plugins.

Does Xcode build fixer run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Xcode build fixer?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Xcode build fixer?

The closest alternatives to Xcode build fixer are Xcode build orchestrator, Xcode build benchmark, Axiom optimize build, Xcode project analyzer and Xcode compilation analyzer.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from carloshpdoc/ios-workflow-claude

  1. Finds Swift Package Manager and module graph issues slowing Xcode builds

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Measures Xcode clean and incremental build times and saves timestamped results

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Audits Xcode project settings and build phases to find slow-build causes

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Turns recent technical work into social and article drafts for manual review

    • Open source
    • 7 GitHub stars
    • Marketing and SEO
  5. Turns meeting notes or specs into planned, estimated Jira task tickets

    • Open source
    • 7 GitHub stars
    • Productivity
  6. Indexes, searches and maintains a personal collection of Markdown docs for Claude

    • Open source
    • 7 GitHub stars
    • Knowledge and memory