We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 216fdde + 905fb34 commit 9a14bacCopy full SHA for 9a14bac
Package.swift
@@ -3,16 +3,23 @@ import PackageDescription
3
import class Foundation.ProcessInfo
4
5
let macOSPlatform: SupportedPlatform
6
+let iOSPlatform: SupportedPlatform
7
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] {
8
macOSPlatform = .macOS(deploymentTarget)
9
} else {
10
macOSPlatform = .macOS(.v10_15)
11
}
12
+if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_IOS_DEPLOYMENT_TARGET"] {
13
+ iOSPlatform = .iOS(deploymentTarget)
14
+} else {
15
+ iOSPlatform = .iOS(.v13)
16
+}
17
18
let package = Package(
19
name: "swift-tools-support-async",
20
platforms: [
- macOSPlatform
21
+ macOSPlatform,
22
+ iOSPlatform
23
],
24
products: [
25
.library(
0 commit comments