Skip to content

Commit 0f9c531

Browse files
committed
remove Swift 5.9 support
1 parent 7a9047d commit 0f9c531

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.9
1+
// swift-tools-version:5.10
22

33
import PackageDescription
44

SwiftDraw.podspec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"exclude_files": "SwiftDraw/NSImage+Image.swift",
4141
"frameworks": ["UIKit", "Foundation"]
4242
},
43-
"swift_version": "5.9",
43+
"swift_version": "5.10",
4444
"pod_target_xcconfig": {
4545
"OTHER_SWIFT_FLAGS": "-package-name SwiftDraw"
4646
},

SwiftDraw/Sources/SVG/SVG.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
import SwiftDrawDOM
3333
import Foundation
3434

35-
#if compiler(<5.10)
36-
#warning("SwiftDraw will soon remove support for Swift 5.9")
35+
#if compiler(<6.0)
36+
#warning("SwiftDraw will soon remove support for Swift 5.10")
3737
#endif
3838

3939
#if canImport(CoreGraphics)

SwiftDrawDOM.podspec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"visionos": "1.0"
2121
},
2222
"source_files": "DOM/Sources/*.swift",
23-
"swift_version": "5.9",
23+
"swift_version": "5.10",
2424
"pod_target_xcconfig": {
2525
"OTHER_SWIFT_FLAGS": "-package-name SwiftDraw"
2626
}

0 commit comments

Comments
 (0)