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
3 changes: 3 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: "Publish new release"
on:
workflow_dispatch:

env:
XCODE_VERSION: "16.4"

jobs:
release:
name: Publish new release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-performance-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
XCODE_VERSION: "16.4"

jobs:
performance:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sdk-size-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
XCODE_VERSION: "16.4"

jobs:
sdk_size:
Expand Down
5 changes: 1 addition & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ let package = Package(
.target(
name: "StreamChat",
exclude: ["Info.plist"],
resources: [.copy("Database/StreamChatModel.xcdatamodeld")],
swiftSettings: [
.unsafeFlags(["-Osize"], .when(configuration: .release))
]
resources: [.copy("Database/StreamChatModel.xcdatamodeld")]
),
.target(
name: "StreamChatUI",
Expand Down
2 changes: 0 additions & 2 deletions StreamChat-XCFramework.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ Pod::Spec.new do |spec|
spec.preserve_paths = "#{spec.module_name}.xcframework/*"

spec.cocoapods_version = '>= 1.11.0'

spec.pod_target_xcconfig = { 'SWIFT_OPTIMIZATION_LEVEL' => '-Osize' }
end
2 changes: 0 additions & 2 deletions StreamChat.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ Pod::Spec.new do |spec|
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: spec.version.to_s }
spec.source_files = ['Sources/StreamChat/**/*.swift']
spec.resource_bundles = { 'StreamChat' => ['Sources/StreamChat/**/*.xcdatamodeld'] }

spec.pod_target_xcconfig = { 'SWIFT_OPTIMIZATION_LEVEL' => '-Osize' }
end
1 change: 0 additions & 1 deletion StreamChat.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14366,7 +14366,6 @@
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SKIP_INSTALL = YES;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_OPTIMIZATION_LEVEL = "-Osize";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
Loading