Diagnoses and resolves crashes, memory leaks, and performance bottlenecks using advanced LLDB commands and Apple's profiling instruments.
This skill provides specialized technical guidance for debugging modern iOS applications built with Swift 6.3 and SwiftUI. It empowers developers to master LLDB for runtime state inspection, utilize the Memory Graph Debugger to eliminate retain cycles, and leverage Apple's Instruments suite to profile CPU, energy, and network usage. By covering everything from main thread hang diagnostics to Swift Package Manager triage, this skill ensures your iOS apps are performant, stable, and follow Apple's most recent best practices for system-level debugging.
主要功能
01506 GitHub stars
02Detailed profiling guides for Time Profiler, Allocations, and Core Animation
03Advanced LLDB command mastery for runtime state inspection and modification
04Main thread hang diagnosis and layout thrashing identification
05Comprehensive memory management workflows for detecting leaks and retain cycles
06Standardized logging practices using os.Logger for production-grade observability
使用场景
01Troubleshooting complex build failures and SPM dependency resolution errors
02Diagnosing UI freezes and performance regressions using the Time Profiler
03Identifying and fixing memory leaks in SwiftUI ViewModels and closures