diff --git a/Package.swift b/Package.swift index 181be0b..45bcd7b 100644 --- a/Package.swift +++ b/Package.swift @@ -3,6 +3,12 @@ import PackageDescription let package = Package( name: "LRUCache", + platforms: [ + .iOS(.v13), + .macOS(.v10_13), + .tvOS(.v13), + .watchOS(.v6), + ], products: [ .library(name: "LRUCache", targets: ["LRUCache"]), ], diff --git a/README.md b/README.md index 98d8697..213fd63 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ LRUCache is packaged as a dynamic framework that you can import into your Xcode project. You can install this manually, or by using Swift Package Manager. -**Note:** LRUCache requires Xcode 14+ to build, and runs on iOS 10+ or macOS 10.12+. +**Note:** LRUCache requires Xcode 14+ to build, and runs on iOS/tvOS 13+, watchOS 6+ or macOS 10.13+. To install using Swift Package Manage, add this to the `dependencies:` section in your Package.swift file: ```swift -.package(url: "https://github.com/nicklockwood/LRUCache.git", .upToNextMinor(from: "1.1.0")), +.package(url: "https://github.com/nicklockwood/LRUCache.git", .upToNextMinor(from: "1.1.1")), ```