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 13
13
// limitations under the License.
14
14
15
15
import CoreGraphics
16
- import CoreImage
17
16
import UniformTypeIdentifiers
18
17
19
18
#if canImport(UIKit)
@@ -22,6 +21,10 @@ import UniformTypeIdentifiers
22
21
public import AppKit // For NSImage extensions.
23
22
#endif
24
23
24
+ #if canImport(CoreImage)
25
+ import CoreImage
26
+ #endif
27
+
25
28
private let imageCompressionQuality : CGFloat = 0.8
26
29
27
30
/// 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(
1310
1310
] ,
1311
1311
path: " FirebaseVertexAI/Sources " ,
1312
1312
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 " ) ,
1316
1313
. enableUpcomingFeature( " InternalImportsByDefault " ) ,
1317
1314
]
1318
1315
) ,
@@ -1331,9 +1328,6 @@ let package = Package(
1331
1328
. headerSearchPath( " ../../../ " ) ,
1332
1329
] ,
1333
1330
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 " ) ,
1337
1331
. enableUpcomingFeature( " InternalImportsByDefault " ) ,
1338
1332
]
1339
1333
) ,
You can’t perform that action at this time.
0 commit comments