diff --git a/Sources/ClientRuntime/Util/PlatformOperatingSystem.swift b/Sources/ClientRuntime/Util/PlatformOperatingSystem.swift index 60a1782d3..0caf3b786 100644 --- a/Sources/ClientRuntime/Util/PlatformOperatingSystem.swift +++ b/Sources/ClientRuntime/Util/PlatformOperatingSystem.swift @@ -12,6 +12,7 @@ public enum PlatformOperatingSystem: String { case macOS case watchOS case tvOS + case visionOS case unknown } @@ -28,6 +29,8 @@ public var currentOS: PlatformOperatingSystem { return .windows #elseif os(tvOS) return .tvOS + #elseif os(visionOS) + return .visionOS #else #error("Cannot use a an operating system we do not support") #endif