Skip to content

Commit

Permalink
Fix Xcode 15 SPM warning related to iOS 12 support (FLEXTool#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
kikeenrique authored Feb 3, 2024
1 parent 6921468 commit 346301b
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 @@ -7,7 +7,9 @@ enum FLEXBuildOptions {
static let silenceWarnings = false
}

#if swift(>=5.7)
#if swift(>=5.9)
let platforms: [PackageDescription.SupportedPlatform] = [.iOS(.v12)]
#elseif swift(>=5.7)
let platforms: [PackageDescription.SupportedPlatform] = [.iOS(.v11)]
#else
let platforms: [PackageDescription.SupportedPlatform] = [.iOS(.v10)]
Expand Down

0 comments on commit 346301b

Please sign in to comment.