Skip to content

Commit c125e55

Browse files
authored
Fix Xcode 15 SPM warning related to iOS 12, tvOS 12 support (#280)
1 parent 4654d5e commit c125e55

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
import PackageDescription
55

6-
#if swift(>=5.7)
6+
#if swift(>=5.9)
7+
let platforms: [PackageDescription.SupportedPlatform] = [.macOS(.v10_13), .iOS(.v12), .watchOS(.v4), .tvOS(.v12)]
8+
#elseif swift(>=5.7)
79
let platforms: [PackageDescription.SupportedPlatform] = [.macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11)]
810
#elseif swift(>=5.0)
911
let platforms: [PackageDescription.SupportedPlatform]? = nil

0 commit comments

Comments
 (0)