File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,25 @@ import PackageDescription
15
15
import class Foundation. ProcessInfo
16
16
17
17
let macOSPlatform : SupportedPlatform
18
+ let iOSPlatform : SupportedPlatform
18
19
if let deploymentTarget = ProcessInfo . processInfo. environment [ " SWIFTTSC_MACOS_DEPLOYMENT_TARGET " ] {
19
20
macOSPlatform = . macOS( deploymentTarget)
20
21
} else {
21
22
macOSPlatform = . macOS( . v10_15)
22
23
}
24
+ if let deploymentTarget = ProcessInfo . processInfo. environment [ " SWIFTTSC_IOS_DEPLOYMENT_TARGET " ] {
25
+ iOSPlatform = . iOS( deploymentTarget)
26
+ } else {
27
+ iOSPlatform = . iOS( . v13)
28
+ }
23
29
24
30
let CMakeFiles = [ " CMakeLists.txt " ]
25
31
26
32
let package = Package (
27
33
name: " swift-tools-support-core " ,
28
34
platforms: [
29
35
macOSPlatform,
30
- . iOS ( . v15 )
36
+ iOSPlatform ,
31
37
] ,
32
38
products: [
33
39
. library(
You can’t perform that action at this time.
0 commit comments