Skip to content

Commit d809bad

Browse files
committed
Update requirements in Package.swift to match SwiftPM
We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring TSC requirements in line with that.
1 parent 78e53cb commit d809bad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Package.swift

+3-2
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
/*
44
This source file is part of the Swift.org open source project
@@ -18,7 +18,7 @@ let macOSPlatform: SupportedPlatform
1818
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] {
1919
macOSPlatform = .macOS(deploymentTarget)
2020
} else {
21-
macOSPlatform = .macOS(.v10_13)
21+
macOSPlatform = .macOS("12.0")
2222
}
2323

2424
let CMakeFiles = ["CMakeLists.txt"]
@@ -27,6 +27,7 @@ let package = Package(
2727
name: "swift-tools-support-core",
2828
platforms: [
2929
macOSPlatform,
30+
.iOS("15.0")
3031
],
3132
products: [
3233
.library(

0 commit comments

Comments
 (0)