Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
],
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
```


Expand Down