Skip to content

Commit 5723fbe

Browse files
authored
fix(swift): update Package.swift minimum iOS version to 16.0 for Duration compatibility (#1242)
The Swift SDK uses the Duration type in FliptClient initializer parameters (requestTimeout and updateInterval), but Duration is only available from iOS 16.0+. The Package.swift previously declared iOS 13+ support, causing a version mismatch that prevented installation. This updates the minimum iOS requirement from 13.0 to 16.0 to align with Duration type availability. macOS 13.0 already supports Duration, so no change needed there. Fixes #1241 Signed-off-by: Mark Phelps <[email protected]>
1 parent 8020c50 commit 5723fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44

55
let package = Package(
66
name: "FliptClient",
7-
platforms: [.iOS(.v13), .macOS(.v13)],
7+
platforms: [.iOS(.v16), .macOS(.v13)],
88
products: [
99
.library(
1010
name: "FliptClient",

0 commit comments

Comments
 (0)