From fe3b957e5f67012e0009c13b7947e357dc037a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Rou=C3=A9?= Date: Wed, 10 Jun 2026 12:55:39 +0200 Subject: [PATCH] Add missing Foundation imports --- GRDB/Core/DatabaseFunction.swift | 2 ++ GRDB/Core/Support/StandardLibrary/StandardLibrary.swift | 2 ++ Package.swift | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/GRDB/Core/DatabaseFunction.swift b/GRDB/Core/DatabaseFunction.swift index 845433a0d..1744ae769 100644 --- a/GRDB/Core/DatabaseFunction.swift +++ b/GRDB/Core/DatabaseFunction.swift @@ -10,6 +10,8 @@ import SQLCipher import GRDBSQLite #endif +import Foundation + /// A custom SQL function or aggregate. /// /// ## Topics diff --git a/GRDB/Core/Support/StandardLibrary/StandardLibrary.swift b/GRDB/Core/Support/StandardLibrary/StandardLibrary.swift index c431aecc5..0fe494d15 100644 --- a/GRDB/Core/Support/StandardLibrary/StandardLibrary.swift +++ b/GRDB/Core/Support/StandardLibrary/StandardLibrary.swift @@ -10,6 +10,8 @@ import SQLCipher import GRDBSQLite #endif +import Foundation + // MARK: - Value Types /// Bool adopts DatabaseValueConvertible and StatementColumnConvertible. diff --git a/Package.swift b/Package.swift index bb6aa508b..057c6f14e 100644 --- a/Package.swift +++ b/Package.swift @@ -82,7 +82,9 @@ let package = Package( path: "GRDB", resources: [.copy("PrivacyInfo.xcprivacy")], cSettings: cSettings, - swiftSettings: swiftSettings), + swiftSettings: swiftSettings + [ + .enableUpcomingFeature("MemberImportVisibility"), + ]), .testTarget( name: "GRDBTests", dependencies: ["GRDB"],