File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1313// limitations under the License.
1414
1515import CoreGraphics
16- import CoreImage
1716import UniformTypeIdentifiers
1817
1918#if canImport(UIKit)
@@ -22,6 +21,10 @@ import UniformTypeIdentifiers
2221 public import AppKit // For NSImage extensions.
2322#endif
2423
24+ #if canImport(CoreImage)
25+ import CoreImage
26+ #endif
27+
2528private let imageCompressionQuality : CGFloat = 0.8
2629
2730/// An enum describing failures that can occur when converting image types to model content data.
Original file line number Diff line number Diff line change @@ -1310,9 +1310,6 @@ let package = Package(
13101310 ] ,
13111311 path: " FirebaseVertexAI/Sources " ,
13121312 swiftSettings: [
1313- // TODO(#14638): Remove "AccessLevelOnImport" experimental feature declaration after
1314- // upgrading to `swift-tools-version:6.0`, where it is on by default.
1315- . enableExperimentalFeature( " AccessLevelOnImport " ) ,
13161313 . enableUpcomingFeature( " InternalImportsByDefault " ) ,
13171314 ]
13181315 ) ,
@@ -1331,9 +1328,6 @@ let package = Package(
13311328 . headerSearchPath( " ../../../ " ) ,
13321329 ] ,
13331330 swiftSettings: [
1334- // TODO(#14638): Remove "AccessLevelOnImport" experimental feature declaration after
1335- // upgrading to `swift-tools-version:6.0`, where it is on by default.
1336- . enableExperimentalFeature( " AccessLevelOnImport " ) ,
13371331 . enableUpcomingFeature( " InternalImportsByDefault " ) ,
13381332 ]
13391333 ) ,
You can’t perform that action at this time.
0 commit comments