Skip to content

Commit

Permalink
Require macOS 12 in Package.swift to satisfy SwiftLint requirement
Browse files Browse the repository at this point in the history
`swift build` failed with:

> error: the library 'WordPressShared' requires macos 10.13, but depends on the product 'SwiftLintPlugin' which requires macos 12.0; consider changing the library 'WordPressShared' to require macos 12.0 or later, or the product 'SwiftLintPlugin' to require macos 10.13 or earlier.
  • Loading branch information
mokagio committed Apr 8, 2024
1 parent 33b6e4a commit 5cde8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "WordPressShared",
platforms: [.iOS(.v13)],
platforms: [.iOS(.v13), .macOS(.v12)],
products: [
.library(name: "WordPressShared", targets: ["WordPressShared"])
],
Expand Down

0 comments on commit 5cde8be

Please sign in to comment.