ios-clean

Remove the DebugBridge SPM package and #if DEBUG wiring from iOS projects.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/abhishekmmgn/didactic-invention --skill ios-clean-abhishekmmgn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-clean
Source: https://github.com/abhishekmmgn/didactic-invention/tree/main/.agents/skills/gstack/ios-clean
Command: npx skills add https://github.com/abhishekmmgn/didactic-invention --skill ios-clean-abhishekmmgn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app, reducing build noise and potential security exposure.

Core Features & Use Cases

  • Remove the DebugBridge SPM package and all related instrumentation blocks.
  • Strip conditional #if DEBUG wiring from sources to ensure release-ready builds.
  • Use with gstack to clean iOS instrumentation across projects quickly.

Quick Start

Run the ios-clean skill to remove DebugBridge and all #if DEBUG instrumentation from your iOS project and rebuild.

Frequently Asked Questions about ios-clean

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

FAQPage Schema
How do I remove DebugBridge from an iOS Xcode project?

To remove DebugBridge from an iOS Xcode project, you need to delete the SPM package reference and strip all related instrumentation code paths. This automatically cleans up the Swift package dependencies and removes associated hooks.

How do I strip #if DEBUG wiring from Swift sources for release builds?

Stripping #if DEBUG wiring from Swift sources involves identifying and removing conditional compilation blocks throughout the iOS app. This ensures your project builds cleanly for release without debug-specific code paths or instrumentation overhead.

Why should I remove debug instrumentation from my iOS app?

Removing debug instrumentation from an iOS app reduces build noise and eliminates potential security exposure. By stripping DebugBridge and #if DEBUG wiring, you ensure your release builds are cleaner, leaner, and free of unnecessary debug hooks.

Can I use this iOS cleanup tool with my existing gstack workflow?

Yes, you can use this iOS cleanup tool with your existing gstack workflow. It is designed to integrate with gstack to quickly clean iOS instrumentation across projects, removing SPM packages and conditional code blocks seamlessly.

What is needed to clean up Swift package references and conditional compilation blocks?

Cleaning up Swift package references and conditional compilation blocks requires access to your iOS project files and operations. The tool modifies package references directly and rewrites source files to eliminate debug-specific conditional blocks.