Skip to content

Commit 0d9c3d1

Browse files
committed
#56: Added platform version requirements to Package file. Again.
https://stackoverflow.com/a/67422901/453435
1 parent 25139b8 commit 0d9c3d1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Package.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ import PackageDescription
55

66
let package = Package(
77
name: "RectangleTools",
8+
9+
platforms: [
10+
.macOS(.v10_15),
11+
.iOS(.v13),
12+
.tvOS(.v13),
13+
.watchOS(.v6),
14+
],
15+
816
products: [
917
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1018
.library(
@@ -13,7 +21,7 @@ let package = Package(
1321
],
1422
dependencies: [
1523
// Dependencies declare other packages that this package depends on.
16-
.package(url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.0.0"),
24+
.package(url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.0.0"),
1725
],
1826
targets: [
1927
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

0 commit comments

Comments
 (0)