Skip to content

Commit

Permalink
Update requirements in Package.swift to match SwiftPM
Browse files Browse the repository at this point in the history
We no longer support Swift 5.5 and older versions of macOS with SwiftPM, makes sense to bring TSC requirements in line with that.
  • Loading branch information
MaxDesiatov committed Apr 26, 2023
1 parent 78e53cb commit d809bad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5
// swift-tools-version:5.7

/*
This source file is part of the Swift.org open source project
Expand All @@ -18,7 +18,7 @@ let macOSPlatform: SupportedPlatform
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] {
macOSPlatform = .macOS(deploymentTarget)
} else {
macOSPlatform = .macOS(.v10_13)
macOSPlatform = .macOS("12.0")
}

let CMakeFiles = ["CMakeLists.txt"]
Expand All @@ -27,6 +27,7 @@ let package = Package(
name: "swift-tools-support-core",
platforms: [
macOSPlatform,
.iOS("15.0")
],
products: [
.library(
Expand Down

0 comments on commit d809bad

Please sign in to comment.