File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,25 @@ import PackageDescription
1515import class Foundation. ProcessInfo
1616
1717let macOSPlatform : SupportedPlatform
18+ let iOSPlatform : SupportedPlatform
1819if let deploymentTarget = ProcessInfo . processInfo. environment [ " SWIFTTSC_MACOS_DEPLOYMENT_TARGET " ] {
1920 macOSPlatform = . macOS( deploymentTarget)
2021} else {
2122 macOSPlatform = . macOS( . v10_15)
2223}
24+ if let deploymentTarget = ProcessInfo . processInfo. environment [ " SWIFTTSC_IOS_DEPLOYMENT_TARGET " ] {
25+ iOSPlatform = . iOS( deploymentTarget)
26+ } else {
27+ iOSPlatform = . iOS( . v13)
28+ }
2329
2430let CMakeFiles = [ " CMakeLists.txt " ]
2531
2632let package = Package (
2733 name: " swift-tools-support-core " ,
2834 platforms: [
2935 macOSPlatform,
30- . iOS ( . v15 )
36+ iOSPlatform ,
3137 ] ,
3238 products: [
3339 . library(
You can’t perform that action at this time.
0 commit comments