How to Free Up Disk Space Used by Xcode
Xcode can consume 50GB+ of disk space over time. Here's how to reclaim storage by clearing caches, old simulators, device support files, and other accumulated cruft.
// 19 articles available
Xcode can consume 50GB+ of disk space over time. Here's how to reclaim storage by clearing caches, old simulators, device support files, and other accumulated cruft.
Swift Testing replaces XCTest with a cleaner macro-based API. Learn how to write tests with @Test, #expect, parameterized inputs, and traits in Xcode 16+.
Swift macros generate code at compile time, reducing boilerplate and catching errors early. Learn how to use built-in macros and understand how custom macros work.
The Xcode MCP server connection prompt interrupts your flow every time you restart Claude Code or clear your session. Here's how to automate it away using hooks.
Learn how to test push notifications on iOS simulators without needing a device or server setup using xcrun simctl push.
Use the #Preview macro to preview your Live Activity views directly in Xcode without running the full app.
When SwiftUI previews break, the error messages aren't always helpful. Here's how to debug them, clear caches, and get back to a working state.
Xcode 26.3 ships with a built-in MCP server that exposes project structure, build actions, and test results to external AI tools. Here's how to set it up.
When Xcode says it can't find a module you've clearly installed, the problem is usually in your build configuration, not your package manager.
Learn how to use Xcode's Device Conditions feature to simulate thermal state and network conditions to test your app under real-world stress scenarios.
When the iOS Simulator refuses to launch, gets stuck booting, or shows a black screen, here's how to diagnose and fix it.
When Xcode's indexing gets stuck or takes forever, your autocomplete and jump-to-definition stop working. Here's how to get it unstuck.
When SwiftUI previews fail with cryptic errors or just spin forever, here's how to diagnose and fix the most common causes.
When building UIs that stream AI-generated content using Apple's Foundation Models framework, testing intermediate states in Xcode Previews requires some creative workarounds. Here's how to preview partially generated content without calling the actual model.
Learn how to symbolicate crash logs from App Store Connect and Xcode Cloud to debug production crashes effectively.
Learn how to search SF Symbols in Xcode.
Learn how to fix the Firebase Crashlytics dSYM files not properly being uploaded to Firebase after upgrading to Xcode 15/16.
Learn how to detect if a SwiftUI app is running in a Xcode Preview.
How to resolve the pod install error caused by Xcode 16's new folder-based group structure.