Debugging & Troubleshooting
Systematic debugging strategies to solve issues faster and prevent common problems before they happen.
Skills
Accessibility Debugging – WCAG compliance, VoiceOver testing, Dynamic Type support, App Store Review preparation
- "App Store rejected my app for VoiceOver issues. How do I fix missing labels?"
- "How do I test my app for color contrast and Dynamic Type support?"
- Command:
/audit-accessibilityfor quick WCAG compliance scanning
Xcode Debugging – Environment-first diagnostics for mysterious Xcode issues, prevents 30+ minute rabbit holes
- "My build is failing with 'BUILD FAILED' but no error details. I haven't changed anything."
- "Build succeeds but old code is executing. I restarted Xcode but it still happens."
Memory Debugging – Systematic leak diagnosis with 5 patterns covering 90% of real-world issues
- "My app crashes after 10-15 minutes of use with no error messages. How do I find the leak?"
- "View controllers don't deallocate after dismiss. How do I find the retain cycle?"
- Command:
/prescan-memoryfor quick triage scanning
Build Troubleshooting – Dependency resolution for CocoaPods and Swift Package Manager conflicts
- "I added a Swift Package but I'm getting 'No such module' errors."
- "Build works on my Mac but fails on CI. Both have the latest Xcode."
Performance Profiling – Instruments decision trees for CPU, memory, battery profiling with 3 real-world examples
- "Scrolling is slow and I need to know if it's Core Data or SwiftUI."
- "We have a deadline and my app feels slow. What should I optimize first?"