Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ GEM
fastlane
pry
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
fastlane-plugin-stream_actions (0.3.102)
fastlane-plugin-stream_actions (0.3.104)
xctest_list (= 1.2.1)
fastlane-plugin-versioning (0.7.1)
fastlane-plugin-xcsize (1.2.0)
Expand Down Expand Up @@ -387,7 +387,7 @@ DEPENDENCIES
fastlane-plugin-create_xcframework
fastlane-plugin-lizard
fastlane-plugin-sonarcloud_metric_kit
fastlane-plugin-stream_actions (= 0.3.102)
fastlane-plugin-stream_actions (= 0.3.104)
fastlane-plugin-versioning
fastlane-plugin-xcsize (= 1.2.0)
faye-websocket
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<p align="center">
<img id="stream-chat-label" alt="StreamChat" src="https://img.shields.io/badge/StreamChat-8.63%20MB-blue"/>
<img id="stream-chat-ui-label" alt="StreamChatUI" src="https://img.shields.io/badge/StreamChatUI-4.91%20MB-blue"/>
<img id="stream-chat-common-ui-label" alt="StreamChatCommonUI" src="https://img.shields.io/badge/StreamChatCommonUI-0.75%20MB-blue"/>
</p>

This is the official iOS SDK for [Stream Chat](https://getstream.io/chat/sdk/ios/), a service for building chat and messaging applications. This library includes both a low-level SDK and a set of reusable UI components.
Expand Down Expand Up @@ -98,7 +99,7 @@ To find out more about this product, please check our [docs](https://getstream.i

## AI Components

Bring your AI experience to life with Stream’s frontend components available for [SwiftUI](https://github.com/GetStream/stream-chat-swift-ai) (and other platforms, such as React, React Native, and Android).
Bring your AI experience to life with Stream’s frontend components available for [SwiftUI](https://github.com/GetStream/stream-chat-swift-ai) (and other platforms, such as React, React Native, and Android).

Featuring natural streaming message animation, full markdown and code rendering, charts, tables, thinking indicators, text-to-speech, and a completely flexible composer. Designed to work seamlessly with Stream Chat’s frontend SDKs, it’s everything you need to ship a premium AI chat interface out of the box.

Expand Down
18 changes: 9 additions & 9 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'Allurefile'

xcode_version = ENV['XCODE_VERSION'] || '26.1.1'
xcode_project = 'StreamChat.xcodeproj'
sdk_names = ['StreamChat', 'StreamChatUI']
sdk_names = ['StreamChat', 'StreamChatUI', 'StreamChatCommonUI']
github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-chat-swift'
stress_tests_cycles = 50
derived_data_path = 'derived_data'
Expand Down Expand Up @@ -913,25 +913,25 @@ private_lane :frameworks_sizes do
cloned_source_packages_path: source_packages_path
)

# TODO: Handle StreamChatCommonUI size
# Parse the thinned size of Assets.car from Packaging.log
# assets_size_regex = %r{\b(\d+)\sbytes\sfor\s./Payload/ChatSample.app/Frameworks/StreamChatCommonUI.framework/Assets.car\b}
# packaging_log_content = File.read("#{Gym.cache[:temporary_output_path]}/Packaging.log")
# match = packaging_log_content.match(assets_size_regex)
# assets_thinned_size = match[1].to_i
assets_size_regex = %r{\b(\d+)\sbytes\sfor\s./Payload/ChatSample.app/Frameworks/StreamChatCommonUI.framework/Assets.car\b}
packaging_log_content = File.read("#{Gym.cache[:temporary_output_path]}/Packaging.log")
match = packaging_log_content.match(assets_size_regex)
assets_thinned_size = match[1].to_i

frameworks_path = "../#{archive_dir}/Products/Library/Frameworks/ChatSample.app/Frameworks"
stream_chat_size = File.size("#{frameworks_path}/StreamChat.framework/StreamChat")
stream_chat_ui_size = File.size("#{frameworks_path}/StreamChatUI.framework/StreamChatUI")
# stream_chat_common_ui_size = File.size("#{frameworks_path}/StreamChatCommonUI.framework/StreamChatCommonUI")
stream_chat_common_ui_size = File.size("#{frameworks_path}/StreamChatCommonUI.framework/StreamChatCommonUI")

stream_chat_size_kb = stream_chat_size / 1024.0
stream_chat_ui_size_kb = stream_chat_ui_size / 1024.0
# stream_chat_common_ui_size_kb = (stream_chat_common_ui_size + assets_thinned_size) / 1024.0
stream_chat_common_ui_size_kb = (stream_chat_common_ui_size + assets_thinned_size) / 1024.0

{
StreamChat: stream_chat_size_kb.round(0),
StreamChatUI: stream_chat_ui_size_kb.round(0)
StreamChatUI: stream_chat_ui_size_kb.round(0),
StreamChatCommonUI: stream_chat_common_ui_size_kb.round(0)
}
end

Expand Down
2 changes: 1 addition & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
gem 'fastlane-plugin-versioning'
gem 'fastlane-plugin-create_xcframework'
gem 'fastlane-plugin-sonarcloud_metric_kit'
gem 'fastlane-plugin-stream_actions', '0.3.102'
gem 'fastlane-plugin-stream_actions', '0.3.104'
gem 'fastlane-plugin-xcsize', '1.2.0'
Loading