Skip to content

Commit 27a46b2

Browse files
committed
Fix PartsRepresentable+Image annotations
1 parent e7ba890 commit 27a46b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseVertexAI/Sources/PartsRepresentable+Image.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ enum ImageConversionError: Error {
6767

6868
#if !os(watchOS) // This code does not build on watchOS.
6969
/// Enables `CGImages` to be representable as model content.
70-
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *)
70+
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *)
7171
extension CGImage: PartsRepresentable {
7272
public var partsValue: [any Part] {
7373
let output = NSMutableData()
@@ -90,7 +90,7 @@ enum ImageConversionError: Error {
9090

9191
#if canImport(CoreImage)
9292
/// Enables `CIImages` to be representable as model content.
93-
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, tvOS 15.0, *)
93+
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, *)
9494
extension CIImage: PartsRepresentable {
9595
public var partsValue: [any Part] {
9696
let context = CIContext()

0 commit comments

Comments
 (0)