Skip to content

Commit 770530d

Browse files
authored
bump min mac version to v12 (#938)
1 parent 5589012 commit 770530d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let libXML2TargetOrNil: Target? = nil
2323
let package = Package(
2424
name: "smithy-swift",
2525
platforms: [
26-
.macOS(.v10_15),
26+
.macOS(.v12),
2727
.iOS(.v13),
2828
.tvOS(.v13),
2929
.watchOS(.v6)

smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/PackageManifestGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PackageManifestGenerator(
2424
writer.write("name: \$S,", ctx.settings.moduleName)
2525

2626
writer.openBlock("platforms: [", "],") {
27-
writer.write(".macOS(.v10_15), .iOS(.v13)")
27+
writer.write(".macOS(.v12), .iOS(.v13)")
2828
}
2929

3030
writer.openBlock("products: [", "],") {

smithy-swift-codegen/src/test/kotlin/software/amazon/smithy/swift/codegen/manifestanddocs/PackageManifestGeneratorTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PackageManifestGeneratorTests {
3030
assertNotNull(packageManifest)
3131
val expected = """
3232
platforms: [
33-
.macOS(.v10_15), .iOS(.v13)
33+
.macOS(.v12), .iOS(.v13)
3434
],
3535
"""
3636
packageManifest.shouldContain(expected)

0 commit comments

Comments
 (0)