diff --git a/Sources/VideoIO/Camera+PhotoCapture.swift b/Sources/VideoIO/Camera+PhotoCapture.swift index 3919f5c..df19cac 100644 --- a/Sources/VideoIO/Camera+PhotoCapture.swift +++ b/Sources/VideoIO/Camera+PhotoCapture.swift @@ -8,8 +8,9 @@ import Foundation import AVFoundation +#if !os(tvOS) + @available(macOS 10.15, *) -@available(tvOS, unavailable) @available(macCatalyst 14.0, *) extension Camera { @@ -53,3 +54,5 @@ extension Camera { self.photoOutput?.capturePhoto(with: settings, delegate: delegate) } } + +#endif