Advisories
Xcode 26.6 RC 2 Drops Swift 6 Enhancements and Key Security Fixes
Apple released Xcode 26.6 Release Candidate 2 (build 17F113) on June 18 2026. The candidate adds Swift 6 language updates, refreshed SwiftUI tooling, and a critical memory‑safety patch that closes a newly‑discovered CVE. Developers are encouraged to install the RC to validate app builds against iOS 17.3, iPadOS 17.3, macOS 14.1, and visionOS 1.0 before the final 26.6 release.
Apple’s latest Xcode 26.6 RC 2 brings a mix of developer‑friendly improvements and hardening measures that should be on every iOS, macOS, and visionOS developer’s radar.
What’s New?
- Swift 6 Enhancements: New language features such as improved pattern matching, async/await refinements, and stricter type inference.
- SwiftUI Tooling: Updated preview canvas, new layout modifiers, and better integration with Xcode’s canvas debugging.
- Simulators & Devices: Added support for the latest Apple Silicon Mac and updated iOS 17.3/iPadOS 17.3 simulators.
- Performance Boosts: Faster build times for large projects and reduced memory footprint during debugging sessions.
Security Highlights
- Memory‑Safety Patch: Fixes a buffer‑overrun vulnerability in the Swift compiler’s type checker that could have been leveraged for code execution.
- Dependency Isolation: Updated third‑party libraries (e.g., SwiftUIKit) to mitigate known CVEs and tightened sandboxing around Xcode extensions.
- Secure Build Pipeline: Added integrity checks for downloaded SDKs to prevent supply‑chain tampering.
Bug Fixes & Stability
- Resolved crashes when launching the debugger on Apple Silicon Macs.
- Fixed UI glitches in the Interface Builder’s asset catalog view.
- Corrected a race condition that caused intermittent build failures on macOS 14.1.
How to Get It
Developers can download Xcode 26.6 RC 2 (17F113) from the Apple Developer portal under the Xcode downloads section. It is available for macOS 14.1 and newer. After installation, run swift --version to confirm Swift 6 is active and run xcodebuild -list to verify the new simulators are present.
Tip: Because this is a release candidate, it’s wise to test your existing projects and CI pipelines before committing to the final release.