diff --git a/apollo-ios-codegen/Package.swift b/apollo-ios-codegen/Package.swift index e794621f2..f56552938 100644 --- a/apollo-ios-codegen/Package.swift +++ b/apollo-ios-codegen/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/apollo-ios-codegen/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift b/apollo-ios-codegen/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift index 933bef1bf..7c3fa07dc 100644 --- a/apollo-ios-codegen/Sources/ApolloCodegenLib/Templates/SwiftPackageManagerModuleTemplate.swift +++ b/apollo-ios-codegen/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 diff --git a/apollo-ios-pagination/Package.swift b/apollo-ios-pagination/Package.swift index 99f0db844..13fa2d385 100644 --- a/apollo-ios-pagination/Package.swift +++ b/apollo-ios-pagination/Package.swift @@ -1,4 +1,7 @@ -// swift-tools-version: 5.9 +// 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/apollo-ios/Package.swift b/apollo-ios/Package.swift index b0d35db3d..b3e402a56 100644 --- a/apollo-ios/Package.swift +++ b/apollo-ios/Package.swift @@ -1,5 +1,8 @@ // 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