diff --git a/Gemfile.lock b/Gemfile.lock index efbeeb4f03..a637bf2beb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -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 diff --git a/README.md b/README.md index 7fdcb8e360..8630419e36 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@

StreamChat StreamChatUI + StreamChatCommonUI

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. @@ -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. diff --git a/fastlane/Fastfile b/fastlane/Fastfile index a9f52c5bc3..7ffbe4aa6a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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' @@ -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 diff --git a/fastlane/Pluginfile b/fastlane/Pluginfile index 8702635c63..b446b8b1f8 100644 --- a/fastlane/Pluginfile +++ b/fastlane/Pluginfile @@ -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'