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"],