Skip to content

Commit

Permalink
swift 5.10 added to the list of versions
Browse files Browse the repository at this point in the history
  • Loading branch information
makoni committed May 23, 2024
1 parent 0778217 commit 615f589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Sources/Uploadcare/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ func getSwiftVersion() -> String {
swiftVersion = "6.1"
#elseif swift(>=6.0)
swiftVersion = "6.0"
#elseif swift(>=5.10)
swiftVersion = "5.9"
#elseif swift(>=5.9)
swiftVersion = "5.9"
#elseif swift(>=5.8)
Expand Down
2 changes: 1 addition & 1 deletion Uploadcare.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '11.0'
s.watchos.deployment_target = '5.0'

s.swift_versions = ['5.6', '5.7', '5.8', '5.9']
s.swift_versions = ['5.6', '5.7', '5.8', '5.9', '5.10']

s.source_files = 'Sources/Uploadcare/**/*'

Expand Down

0 comments on commit 615f589

Please sign in to comment.