From 5684b93cc1c7c861163ba44ce0b5d32820c4b705 Mon Sep 17 00:00:00 2001 From: Calvin Cestari Date: Fri, 13 Sep 2024 13:36:34 -0700 Subject: [PATCH] chore: Required swift-tools-version update (apollographql/apollo-ios-dev#479) --- Package.swift | 2 ++ .../Templates/SwiftPackageManagerModuleTemplate.swift | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index e794621f..f5655293 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,7 @@ // swift-tools-version:5.9 +// // The swift-tools-version declares the minimum version of Swift required to build this package. +// Swift 5.9 is available from Xcode 15.0. import PackageDescription diff --git a/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift b/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift index 933bef1b..7c3fa07d 100644 --- a/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift +++ b/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift @@ -23,7 +23,7 @@ struct SwiftPackageManagerModuleTemplate: TemplateRenderer { let casedSchemaNamespace = config.schemaNamespace.firstUppercased return TemplateString(""" - // swift-tools-version:5.7 + // swift-tools-version:5.9 import PackageDescription