Skip to content

Commit 9a14bac

Browse files
authored
Merge pull request #55 from weissi/jw-ios15
require iOS 15 (which is what TSC does...)
2 parents 216fdde + 905fb34 commit 9a14bac

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Package.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,23 @@ import PackageDescription
33
import class Foundation.ProcessInfo
44

55
let macOSPlatform: SupportedPlatform
6+
let iOSPlatform: SupportedPlatform
67
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] {
78
macOSPlatform = .macOS(deploymentTarget)
89
} else {
910
macOSPlatform = .macOS(.v10_15)
1011
}
12+
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_IOS_DEPLOYMENT_TARGET"] {
13+
iOSPlatform = .iOS(deploymentTarget)
14+
} else {
15+
iOSPlatform = .iOS(.v13)
16+
}
1117

1218
let package = Package(
1319
name: "swift-tools-support-async",
1420
platforms: [
15-
macOSPlatform
21+
macOSPlatform,
22+
iOSPlatform
1623
],
1724
products: [
1825
.library(

0 commit comments

Comments
 (0)