Skip to content

Commit 5a25d59

Browse files
Bump min supported swift version (#508)
1 parent 8b64abb commit 5a25d59

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

.github/workflows/smoke-checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ jobs:
219219

220220
automated-code-review:
221221
name: Automated Code Review
222-
runs-on: macos-12
222+
runs-on: macos-13
223223
env:
224224
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225225
GITHUB_PR_NUM: ${{ github.event.number }}
226-
XCODE_VERSION: "14.0.1"
226+
XCODE_VERSION: "15.0.1"
227227
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
228228
steps:
229229
- uses: actions/[email protected]

.spi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ builder:
44
- platform: ios
55
documentation_targets: [StreamChatSwiftUI]
66
scheme: StreamChatSwiftUI
7-
swift_version: 5.8
7+
swift_version: 5.9

.swiftformat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stream rules
22
--header "\nCopyright © {year} Stream.io Inc. All rights reserved.\n"
3-
--swiftversion 5.2
3+
--swiftversion 5.9
44

55
--ifdef no-indent
66
--disable redundantType

Package.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// swift-tools-version:5.3
2-
// When used via SPM the minimum Swift version is 5.3 because we need support for resources
1+
// swift-tools-version:5.9
32

43
import Foundation
54
import PackageDescription

StreamChatSwiftUI-XCFramework.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Pod::Spec.new do |spec|
88
spec.license = { type: 'BSD-3', file: 'LICENSE' }
99
spec.author = { 'getstream.io' => '[email protected]' }
1010
spec.social_media_url = 'https://getstream.io'
11-
spec.swift_version = '5.2'
11+
spec.swift_version = '5.9'
1212
spec.platform = :ios, '14.0'
1313
spec.requires_arc = true
1414

StreamChatSwiftUI.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Pod::Spec.new do |spec|
88
spec.license = { type: 'BSD-3', file: 'LICENSE' }
99
spec.author = { 'getstream.io' => '[email protected]' }
1010
spec.social_media_url = 'https://getstream.io'
11-
spec.swift_version = '5.2'
11+
spec.swift_version = '5.9'
1212
spec.platform = :ios, '14.0'
1313
spec.source = { git: 'https://github.com/GetStream/stream-chat-swiftui.git', tag: spec.version }
1414
spec.requires_arc = true

StreamChatSwiftUITestsAppTests/Tests/MessageList_Tests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,8 @@ extension MessageList_Tests {
506506
func test_paginationOnThread() throws {
507507
linkToScenario(withId: 371)
508508

509+
throw XCTSkip("https://github.com/GetStream/ios-issues-tracking/issues/854")
510+
509511
let replyCount = 60
510512

511513
GIVEN("user opens the channel") {

0 commit comments

Comments
 (0)