October 7th, 2021
The Xcode 13 betas included the macOS 12 SDK. When Apple released iOS 15, they released Xcode 13.0. Because macOS 12 was still in beta during iOS 15’s release, Xcode 13.0 includes the macOS 11.3 SDK.
If you are writing a Mac app that uses something added in the macOS 12 SDK, such as SwiftUI’s element binding syntax, the code won’t compile, even if the new feature supports macOS 11.
To use the macOS 12 SDK, install one of the Xcode 13 betas until Apple releases macOS 12. When Apple ships macOS 12, they will ship a new Xcode version that includes the macOS 12 SDK.
Tags: xcode 13