Skip to content

Commit 7798466

Browse files
committed
Bump Swift version
1 parent 72ee2a1 commit 7798466

File tree

6 files changed

+68
-64
lines changed

6 files changed

+68
-64
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1111
- Add `ChatChannelController.setPushPreference(level:)`
1212
- Add `ChatChannelController.snoozePushNotifications(until:)`
1313

14+
## ⚠️ Important
15+
- From now on, our XCFrameworks will be built with Swift 5.9. In order to use them, you need Xcode 15 or above.
16+
1417
# [4.89.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.89.0)
1518
_September 22, 2025_
1619

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.9
22

33
import Foundation
44
import PackageDescription
@@ -25,7 +25,7 @@ let package = Package(
2525
.library(
2626
name: "StreamChatTestMockServer",
2727
targets: ["StreamChatTestMockServer"]
28-
),
28+
)
2929
],
3030
targets: [
3131
.target(
@@ -52,7 +52,7 @@ let package = Package(
5252
path: "TestTools/StreamChatTestMockServer",
5353
exclude: ["Info.plist"],
5454
resources: [.process("Fixtures")]
55-
),
55+
)
5656
]
5757
)
5858

StreamChat-XCFramework.podspec

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChat-XCFramework"
3-
spec.version = "4.89.0"
4-
spec.summary = "StreamChat iOS Client"
5-
spec.description = "stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications."
2+
spec.name = 'StreamChat-XCFramework'
3+
spec.version = '4.89.0'
4+
spec.summary = 'StreamChat iOS Client'
5+
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
1111

12-
spec.swift_version = '5.7'
13-
spec.ios.deployment_target = '13.0'
12+
spec.swift_version = '5.9'
13+
spec.ios.deployment_target = '13.0'
1414
spec.requires_arc = true
1515

16-
spec.framework = "Foundation"
17-
spec.ios.framework = "UIKit"
16+
spec.framework = 'Foundation'
17+
spec.ios.framework = 'UIKit'
1818

19-
spec.module_name = "StreamChat"
20-
spec.source = { :http => "https://github.com/GetStream/stream-chat-swift/releases/download/#{spec.version}/#{spec.module_name}.zip" }
19+
spec.module_name = 'StreamChat'
20+
spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download/#{spec.version}/#{spec.module_name}.zip" }
2121
spec.vendored_frameworks = "#{spec.module_name}.xcframework"
2222
spec.preserve_paths = "#{spec.module_name}.xcframework/*"
2323

24-
spec.cocoapods_version = ">= 1.11.0"
24+
spec.cocoapods_version = '>= 1.11.0'
2525
end

StreamChat.podspec

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChat"
3-
spec.version = "4.89.0"
4-
spec.summary = "StreamChat iOS Chat Client"
5-
spec.description = "stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications."
2+
spec.name = 'StreamChat'
3+
spec.version = '4.89.0'
4+
spec.summary = 'StreamChat iOS Chat Client'
5+
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
1111

12-
spec.swift_version = '5.7'
12+
spec.swift_version = '5.9'
1313
spec.ios.deployment_target = '13.0'
1414
spec.osx.deployment_target = '11.0'
1515
spec.requires_arc = true
1616

17-
spec.framework = "Foundation"
18-
spec.ios.framework = "UIKit"
17+
spec.framework = 'Foundation'
18+
spec.ios.framework = 'UIKit'
1919

20-
spec.module_name = "StreamChat"
21-
spec.source = { :git => "https://github.com/GetStream/stream-chat-swift.git", :tag => "#{spec.version}" }
22-
spec.source_files = ["Sources/StreamChat/**/*.swift"]
23-
spec.resource_bundles = { "StreamChat" => ["Sources/StreamChat/**/*.xcdatamodeld"] }
20+
spec.module_name = 'StreamChat'
21+
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: "#{spec.version}" }
22+
spec.source_files = ['Sources/StreamChat/**/*.swift']
23+
spec.resource_bundles = { 'StreamChat' => ['Sources/StreamChat/**/*.xcdatamodeld'] }
2424
end

StreamChatUI-XCFramework.podspec

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChatUI-XCFramework"
3-
spec.version = "4.89.0"
4-
spec.summary = "StreamChat UI Components"
5-
spec.description = "StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK."
2+
spec.name = 'StreamChatUI-XCFramework'
3+
spec.version = '4.89.0'
4+
spec.summary = 'StreamChat UI Components'
5+
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
1111

12-
spec.swift_version = '5.7'
13-
spec.platform = :ios, "13.0"
12+
spec.swift_version = '5.9'
13+
spec.platform = :ios, '13.0'
1414
spec.requires_arc = true
1515

16-
spec.framework = "Foundation", "UIKit"
16+
spec.framework = 'Foundation', 'UIKit'
1717

18-
spec.module_name = "StreamChatUI"
19-
spec.source = { :http => "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
18+
spec.module_name = 'StreamChatUI'
19+
spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
2020
spec.vendored_frameworks = "#{spec.module_name}.xcframework"
2121
spec.preserve_paths = "#{spec.module_name}.xcframework/*"
2222

23-
spec.dependency "StreamChat-XCFramework", "#{spec.version}"
23+
spec.dependency 'StreamChat-XCFramework', "#{spec.version}"
2424

25-
spec.cocoapods_version = ">= 1.11.0"
25+
spec.cocoapods_version = '>= 1.11.0'
2626
end

StreamChatUI.podspec

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChatUI"
3-
spec.version = "4.89.0"
4-
spec.summary = "StreamChat UI Components"
5-
spec.description = "StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK."
2+
spec.name = 'StreamChatUI'
3+
spec.version = '4.89.0'
4+
spec.summary = 'StreamChat UI Components'
5+
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
1111

12-
spec.swift_version = '5.7'
13-
spec.platform = :ios, "13.0"
12+
spec.swift_version = '5.9'
13+
spec.platform = :ios, '13.0'
1414
spec.requires_arc = true
1515

16-
spec.framework = "Foundation", "UIKit"
16+
spec.framework = 'Foundation', 'UIKit'
1717

18-
spec.module_name = "StreamChatUI"
19-
spec.source = { :git => "https://github.com/GetStream/stream-chat-swift.git", :tag => "#{spec.version}" }
20-
spec.source_files = ["Sources/StreamChatUI/**/*.swift", "Sources/StreamNuke/**/*.swift", "Sources/StreamSwiftyGif/**/*.swift"]
21-
spec.resource_bundles = { "StreamChatUIResources" => ["Sources/StreamChatUI/Resources/**/*"] }
18+
spec.module_name = 'StreamChatUI'
19+
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: "#{spec.version}" }
20+
spec.source_files = ['Sources/StreamChatUI/**/*.swift', 'Sources/StreamNuke/**/*.swift',
21+
'Sources/StreamSwiftyGif/**/*.swift']
22+
spec.resource_bundles = { 'StreamChatUIResources' => ['Sources/StreamChatUI/Resources/**/*'] }
2223

23-
spec.dependency "StreamChat", "#{spec.version}"
24+
spec.dependency 'StreamChat', "#{spec.version}"
2425
end

0 commit comments

Comments
 (0)