From 3613f09dd13a5f901484ad437f87717e48b2d0ff Mon Sep 17 00:00:00 2001 From: Shreyash Shah <91115777+shreyash-sharechat@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:23:41 +0530 Subject: [PATCH 1/2] Update Package.swift --- Package.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 6e12dcf2..926a39b7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,14 +1,14 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription var platforms: [SupportedPlatform] { - #if compiler(<5.3) - return [.iOS(.v8)] + #if compiler(<5.9) + return [.iOS(.v11)] #else // Xcode 12 (which ships with Swift 5.3) drops support for iOS 8 - return[.iOS(.v9)] + return[.iOS(.v12)] #endif } From ebce0b10a89397c43478cbb3dba5310083210b41 Mon Sep 17 00:00:00 2001 From: Shreyash Shah <91115777+shreyash-sharechat@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:25:47 +0530 Subject: [PATCH 2/2] Update Package.swift --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 926a39b7..38fc701b 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,7 @@ var platforms: [SupportedPlatform] { #if compiler(<5.9) return [.iOS(.v11)] #else - // Xcode 12 (which ships with Swift 5.3) drops support for iOS 8 + // Xcode 15.2 (which ships with Swift 5.9) drops support for iOS 11 return[.iOS(.v12)] #endif }