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