Skip to content

Commit

Permalink
Fix Xcode 15 SPM warning related to iOS 12, tvOS 12 support (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
kikeenrique authored Feb 12, 2024
1 parent 4654d5e commit c125e55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

import PackageDescription

#if swift(>=5.7)
#if swift(>=5.9)
let platforms: [PackageDescription.SupportedPlatform] = [.macOS(.v10_13), .iOS(.v12), .watchOS(.v4), .tvOS(.v12)]
#elseif swift(>=5.7)
let platforms: [PackageDescription.SupportedPlatform] = [.macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11)]
#elseif swift(>=5.0)
let platforms: [PackageDescription.SupportedPlatform]? = nil
Expand Down

0 comments on commit c125e55

Please sign in to comment.