v2.9.0 + Xcode Version 26.0 (17A324) + macOS 15.6.1 (24G90) + iPhone 13 Pro + iOS 18.6.2
@available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *) extension CurrentDevice { /// Returns the version number of Swift being used to compile public var swiftVersion: String { Application.swiftVersion }
Error: 'swiftVersion' is inaccessible due to 'internal' protection level
