diff --git a/Package.swift b/Package.swift index 86ac573..9513749 100644 --- a/Package.swift +++ b/Package.swift @@ -4,7 +4,7 @@ import PackageDescription let package = Package( name: "ErrorKit", defaultLocalization: "en", - platforms: [.macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), .macCatalyst(.v16)], + platforms: [.macOS(.v13), .iOS(.v15), .tvOS(.v15), .watchOS(.v9), .macCatalyst(.v15)], products: [.library(name: "ErrorKit", targets: ["ErrorKit"])], dependencies: [ // CryptoKit is not available on Linux, so we need Swift Crypto diff --git a/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift b/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift index bc03aa7..6767fc1 100644 --- a/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift +++ b/Sources/ErrorKit/Logging/ErrorKit+OSLog.swift @@ -5,6 +5,7 @@ import Foundation import OSLog + @available(iOS 16, tvOS 16, *) extension ErrorKit { /// Returns log data from the unified logging system for a specified time period and minimum level. /// @@ -157,6 +158,7 @@ } } + @available(iOS 16, tvOS 16, *) extension Duration { /// Returns the duration as a `TimeInterval`. ///