Solving Scheme Sprawl with Xcode Test Plans
Stop duplicating Xcode schemes for every environment. Learn how .xctestplan files let you manage test targets, parallel execution, and sanitizers in a single, maintainable configuration.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop duplicating Xcode schemes for every environment. Learn how .xctestplan files let you manage test targets, parallel execution, and sanitizers in a single, maintainable configuration.
Learn how Xcode Test Plans let you lock down test configurations—language, locale, sanitizers, parallelism—so your CI runs behave the same on every machine.
SwiftUI Previews can collapse the compile-run-wait loop for UI work—if you structure views for them. A worked example with dark mode and Dynamic Type variants, plus the limits to respect.
SwiftUI previews fail in ways the simulator never does because they run a minimal, constrained build of your app. Here's why Apple made that trade-off and how to design views that preview well.
Learn how to use Xcode Instruments' Time Profiler to locate CPU bottlenecks in Swift apps, with a concrete image‑filter example and practical tips for interpretation and optimization.
Move Xcode build settings out of project.pbxproj and into plain-text .xcconfig files: how precedence works, a worked Debug/Release API URL setup, and the mistakes that bite during migration.
Stop writing repetitive glue code. Learn how Swift Macros in Xcode 15 move code generation to compile-time, providing type-safe expansions and eliminating boilerplate.
Stop fighting .pbxproj merge conflicts. Learn how to use .xcconfig files to manage Xcode build settings in plain text, implement environment-based variables, and resolve setting precedence.
Learn how to turn on Address Sanitizer in an Xcode scheme to detect heap buffer overflows, use‑after‑free, and other memory errors during debugging.