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.
1 parent ec0146e commit 5b130e0Copy full SHA for 5b130e0
Package.swift
@@ -15,19 +15,25 @@ import PackageDescription
15
import class Foundation.ProcessInfo
16
17
let macOSPlatform: SupportedPlatform
18
+let iOSPlatform: SupportedPlatform
19
if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_MACOS_DEPLOYMENT_TARGET"] {
20
macOSPlatform = .macOS(deploymentTarget)
21
} else {
22
macOSPlatform = .macOS(.v10_15)
23
}
24
+if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTTSC_IOS_DEPLOYMENT_TARGET"] {
25
+ iOSPlatform = .iOS(deploymentTarget)
26
+} else {
27
+ iOSPlatform = .iOS(.v13)
28
+}
29
30
let CMakeFiles = ["CMakeLists.txt"]
31
32
let package = Package(
33
name: "swift-tools-support-core",
34
platforms: [
35
macOSPlatform,
- .iOS(.v15)
36
+ iOSPlatform,
37
],
38
products: [
39
.library(
0 commit comments