Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
61 changes: 26 additions & 35 deletions .github/workflows/cron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,28 @@ jobs:
strategy:
matrix:
include:
- ios: 18.5
xcode: 16.4
os: macos-15
- ios: "26.0"
device: "iPhone 17 Pro"
setup_runtime: false
- ios: "18.5"
Comment on lines +24 to +27
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Replace the 26.0 runtime entry with the real iOS version.

The matrix now feeds "iPhone 17 Pro (26.0)" into both setup-ios-runtime and the Fastlane device argument. iOS runtimes keep their own numbering (18.x for Xcode 26); there is no 26.x simulator runtime, so these jobs will never boot. Please update the ios value to the actual iOS 18.x build that ships with Xcode 26 and keep setup_runtime aligned.

🤖 Prompt for AI Agents
.github/workflows/cron-checks.yml around lines 24 to 27: the ios runtime value
"26.0" is invalid for the iPhone 17 Pro simulator and must be replaced with the
actual iOS 18.x runtime used by Xcode 26 (e.g. "18.5"); update the ios field to
the matching "18.x" value and ensure the setup_runtime flag is set consistently
with the other matrix entry so both matrix rows use the correct iOS runtime and
same setup_runtime setting.

device: "iPhone 16 Pro"
setup_runtime: false
- ios: 17.5
xcode: 15.4
os: macos-14
- ios: "17.5"
device: "iPhone 15 Pro"
setup_runtime: false
- ios: 16.4
xcode: 15.3 # fails on 15.4
os: macos-14
setup_runtime: true
- ios: "16.4"
device: "iPhone 14 Pro"
setup_runtime: true
- ios: 15.5
xcode: 15.3 # fails on 15.4
os: macos-14
- ios: "15.5"
device: "iPhone 13 Pro"
setup_runtime: true
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: macos-15
env:
GITHUB_EVENT: ${{ toJson(github.event) }}
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
STREAM_DEMO_APP_SECRET: ${{ secrets.STREAM_DEMO_APP_SECRET }}
XCODE_VERSION: ${{ matrix.xcode }}
XCODE_VERSION: "26.0.1"
IOS_SIMULATOR_DEVICE: "${{ matrix.device }} (${{ matrix.ios }})" # For the Allure report
steps:
- uses: actions/[email protected]
Expand Down Expand Up @@ -94,30 +89,25 @@ jobs:
strategy:
matrix:
include:
- ios: 18.5
xcode: 16.4
os: macos-15
- ios: "26.0"
device: "iPhone 17 Pro"
setup_runtime: false
- ios: "18.5"
device: "iPhone 16 Pro"
setup_runtime: false
- ios: 17.5
xcode: 15.4
os: macos-14
- ios: "17.5"
device: "iPhone 15 Pro"
setup_runtime: false
- ios: 16.4
xcode: 15.3 # fails on 15.4
os: macos-14
setup_runtime: true
- ios: "16.4"
device: "iPhone 14 Pro"
setup_runtime: true
- ios: 15.5
xcode: 15.3 # fails on 15.4
os: macos-14
- ios: "15.5"
device: "iPhone 13 Pro"
setup_runtime: true
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: macos-15
env:
XCODE_VERSION: ${{ matrix.xcode }}
XCODE_VERSION: "26.0.1"
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
Expand Down Expand Up @@ -147,24 +137,25 @@ jobs:
fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*

build-old-xcode:
name: Build LLC + UI (Xcode 15)
name: Build LLC + UI (Old Xcode)
runs-on: macos-14
env:
XCODE_VERSION: "15.4"
XCODE_VERSION: "16.1"
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: actions/[email protected]
- uses: ./.github/actions/xcode-cache
- uses: ./.github/actions/ruby-cache
- name: List Xcode versions
run: mdfind "kMDItemCFBundleIdentifier = 'com.apple.dt.Xcode'"
- name: Build LLC
run: bundle exec fastlane test device:"iPhone 8" build_for_testing:true
run: bundle exec fastlane test device:"iPhone 16" build_for_testing:true
timeout-minutes: 25
- name: Build UI
run: bundle exec fastlane test_ui device:"iPhone 8" build_for_testing:true
run: bundle exec fastlane test_ui device:"iPhone 16" build_for_testing:true
timeout-minutes: 25
- name: Build XCFrameworks
run: bundle exec fastlane build_xcframeworks
Expand All @@ -177,7 +168,7 @@ jobs:
name: Automated Code Review
runs-on: macos-14
env:
XCODE_VERSION: "15.4"
XCODE_VERSION: "16.1"
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
IOS_SIMULATOR_DEVICE: "iPhone 16 Pro (18.5)"
IOS_SIMULATOR_DEVICE: "iPhone 17 Pro (26.0)"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix simulator runtime identifier

Line 23 now points IOS_SIMULATOR_DEVICE to iPhone 17 Pro (26.0), but iOS runtimes are still 18.x under Xcode 26. simctl won’t resolve a 26.0 runtime, so every Fastlane lane that reads ${{ env.IOS_SIMULATOR_DEVICE }} fails to boot a simulator, breaking the pipeline. Please switch to the actual runtime string (e.g., the 18.x version shipped with Xcode 26) before landing.

🤖 Prompt for AI Agents
In .github/workflows/smoke-checks.yml around line 23, the IOS_SIMULATOR_DEVICE
is set to "iPhone 17 Pro (26.0)" which is an invalid runtime for Xcode 26;
change the value to the actual iOS runtime shipped with Xcode 26 (an 18.x
string) so simctl can resolve it — for example replace with "iPhone 17 Pro
(18.0)" (or the exact 18.x runtime installed on the CI machine) so Fastlane
lanes can boot the simulator successfully.

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
name: Automated Code Review
runs-on: macos-14
env:
XCODE_VERSION: "15.4"
XCODE_VERSION: "16.1"
if: ${{ github.event.inputs.record_snapshots != 'true' }}
steps:
- uses: actions/[email protected]
Expand All @@ -63,21 +63,22 @@ jobs:
if: startsWith(github.event.pull_request.head.ref, 'release/')

build-old-xcode:
name: Build LLC + UI (Xcode 15)
name: Build SDKs (Old Xcode)
runs-on: macos-14
if: ${{ github.event.inputs.record_snapshots != 'true' }}
env:
XCODE_VERSION: "15.4"
XCODE_VERSION: "16.1"
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/xcode-cache
- uses: ./.github/actions/ruby-cache
- name: List Xcode versions
run: mdfind "kMDItemCFBundleIdentifier = 'com.apple.dt.Xcode'"
- name: Build LLC
run: bundle exec fastlane test device:"iPhone 13" build_for_testing:true
run: bundle exec fastlane test device:"iPhone 16" build_for_testing:true
timeout-minutes: 25
- name: Build UI
run: bundle exec fastlane test_ui device:"iPhone 13" build_for_testing:true
run: bundle exec fastlane test_ui device:"iPhone 16" build_for_testing:true
timeout-minutes: 25

test-llc-debug:
Expand Down Expand Up @@ -179,6 +180,8 @@ jobs:
- build-test-app-and-frameworks
env:
LAUNCH_ID: ${{ needs.allure_testops_launch.outputs.launch_id }}
IOS_SIMULATOR_DEVICE: "iPhone 16 Pro (18.5)" # TODO: IOS-1181
XCODE_VERSION: "16.4" # TODO: IOS-1181
strategy:
matrix:
batch: [0, 1]
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add `ChatChannelController.setPushPreference(level:)`
- Add `ChatChannelController.snoozePushNotifications(until:)`

## ⚠️ Important
- From now on, our XCFrameworks will be built with Swift 5.9. In order to use them, you need Xcode 15 or above.

# [4.89.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.89.0)
_September 22, 2025_

Expand Down
1 change: 0 additions & 1 deletion Githubfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export ALLURECTL_VERSION='2.16.0'
export XCRESULTS_VERSION='1.19.1'
export YEETD_VERSION='1.0'
export GCLOUD_VERSION='464.0.0'
export MINT_VERSION='0.17.5'
export SONAR_VERSION='6.2.1.4610'
export IPSW_VERSION='3.1.592'
export INTERFACE_ANALYZER_VERSION='1.0.7'
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:5.10

import Foundation
import PackageDescription
Expand All @@ -25,7 +25,7 @@ let package = Package(
.library(
name: "StreamChatTestMockServer",
targets: ["StreamChatTestMockServer"]
),
)
],
targets: [
.target(
Expand All @@ -52,7 +52,7 @@ let package = Package(
path: "TestTools/StreamChatTestMockServer",
exclude: ["Info.plist"],
resources: [.process("Fixtures")]
),
)
]
)

Expand Down
30 changes: 15 additions & 15 deletions StreamChat-XCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Pod::Spec.new do |spec|
spec.name = "StreamChat-XCFramework"
spec.version = "4.89.0"
spec.summary = "StreamChat iOS Client"
spec.description = "stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications."
spec.name = 'StreamChat-XCFramework'
spec.version = '4.89.0'
spec.summary = 'StreamChat iOS Client'
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'

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

spec.swift_version = '5.7'
spec.ios.deployment_target = '13.0'
spec.swift_version = '5.9'
spec.ios.deployment_target = '13.0'
spec.requires_arc = true

spec.framework = "Foundation"
spec.ios.framework = "UIKit"
spec.framework = 'Foundation'
spec.ios.framework = 'UIKit'

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

spec.cocoapods_version = ">= 1.11.0"
spec.cocoapods_version = '>= 1.11.0'
end
30 changes: 15 additions & 15 deletions StreamChat.podspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
Pod::Spec.new do |spec|
spec.name = "StreamChat"
spec.version = "4.89.0"
spec.summary = "StreamChat iOS Chat Client"
spec.description = "stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications."
spec.name = 'StreamChat'
spec.version = '4.89.0'
spec.summary = 'StreamChat iOS Chat Client'
spec.description = 'stream-chat-swift is the official Swift client for Stream Chat, a service for building chat applications.'

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

spec.swift_version = '5.7'
spec.swift_version = '5.9'
spec.ios.deployment_target = '13.0'
spec.osx.deployment_target = '11.0'
spec.requires_arc = true

spec.framework = "Foundation"
spec.ios.framework = "UIKit"
spec.framework = 'Foundation'
spec.ios.framework = 'UIKit'

spec.module_name = "StreamChat"
spec.source = { :git => "https://github.com/GetStream/stream-chat-swift.git", :tag => "#{spec.version}" }
spec.source_files = ["Sources/StreamChat/**/*.swift"]
spec.resource_bundles = { "StreamChat" => ["Sources/StreamChat/**/*.xcdatamodeld"] }
spec.module_name = 'StreamChat'
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: "#{spec.version}" }
spec.source_files = ['Sources/StreamChat/**/*.swift']
spec.resource_bundles = { 'StreamChat' => ['Sources/StreamChat/**/*.xcdatamodeld'] }
end
30 changes: 15 additions & 15 deletions StreamChatUI-XCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
Pod::Spec.new do |spec|
spec.name = "StreamChatUI-XCFramework"
spec.version = "4.89.0"
spec.summary = "StreamChat UI Components"
spec.description = "StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK."
spec.name = 'StreamChatUI-XCFramework'
spec.version = '4.89.0'
spec.summary = 'StreamChat UI Components'
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'

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

spec.swift_version = '5.7'
spec.platform = :ios, "13.0"
spec.swift_version = '5.9'
spec.platform = :ios, '13.0'
spec.requires_arc = true

spec.framework = "Foundation", "UIKit"
spec.framework = 'Foundation', 'UIKit'

spec.module_name = "StreamChatUI"
spec.source = { :http => "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
spec.module_name = 'StreamChatUI'
spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Fix the double slash in the source URL.

The URL contains a double slash after download/: /download//#{spec.version}/. This should be a single slash to form a valid GitHub release URL.

Apply this diff to fix the URL:

-  spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
+  spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download/#{spec.version}/#{spec.module_name}.zip" }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download//#{spec.version}/#{spec.module_name}.zip" }
spec.source = { http: "https://github.com/GetStream/stream-chat-swift/releases/download/#{spec.version}/#{spec.module_name}.zip" }
🤖 Prompt for AI Agents
In StreamChatUI-XCFramework.podspec around line 19, the spec.source URL contains
a double slash after "download" (/download//#{spec.version}/...), which produces
an invalid GitHub release URL; change the path to use a single slash so the URL
becomes /download/#{spec.version}/#{spec.module_name}.zip (i.e., remove the
extra slash between download and the version placeholder).

spec.vendored_frameworks = "#{spec.module_name}.xcframework"
spec.preserve_paths = "#{spec.module_name}.xcframework/*"

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

spec.cocoapods_version = ">= 1.11.0"
spec.cocoapods_version = '>= 1.11.0'
end
33 changes: 17 additions & 16 deletions StreamChatUI.podspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
Pod::Spec.new do |spec|
spec.name = "StreamChatUI"
spec.version = "4.89.0"
spec.summary = "StreamChat UI Components"
spec.description = "StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK."
spec.name = 'StreamChatUI'
spec.version = '4.89.0'
spec.summary = 'StreamChat UI Components'
spec.description = 'StreamChatUI SDK offers flexible UI components able to display data provided by StreamChat SDK.'

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

spec.swift_version = '5.7'
spec.platform = :ios, "13.0"
spec.swift_version = '5.9'
spec.platform = :ios, '13.0'
spec.requires_arc = true

spec.framework = "Foundation", "UIKit"
spec.framework = 'Foundation', 'UIKit'

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

spec.dependency "StreamChat", "#{spec.version}"
spec.dependency 'StreamChat', "#{spec.version}"
end
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading