Skip to content

Commit 5d07422

Browse files
authored
Update requirements in Package.swift to match SwiftPM (#1338)
We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring Swift Driver requirements in line with that.
1 parent 3794e75 commit 5d07422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.5
1+
// swift-tools-version:5.7
22

33
import PackageDescription
44
import class Foundation.ProcessInfo
@@ -7,14 +7,14 @@ let macOSPlatform: SupportedPlatform
77
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTPM_MACOS_DEPLOYMENT_TARGET"] {
88
macOSPlatform = .macOS(deploymentTarget)
99
} else {
10-
macOSPlatform = .macOS(.v10_15)
10+
macOSPlatform = .macOS(.v12)
1111
}
1212

1313
let package = Package(
1414
name: "swift-driver",
1515
platforms: [
1616
macOSPlatform,
17-
.iOS(.v13),
17+
.iOS(.v15),
1818
],
1919
products: [
2020
.executable(

0 commit comments

Comments
 (0)