Skip to content

Commit 8833230

Browse files
committed
Update xcframeworks podspec
1 parent de01b67 commit 8833230

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

StreamChat-XCFramework.podspec

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,12 @@ Pod::Spec.new do |spec|
2222
spec.preserve_paths = "#{spec.module_name}.xcframework/*"
2323

2424
spec.cocoapods_version = '>= 1.11.0'
25+
26+
spec.pod_target_xcconfig = {
27+
'SWIFT_OPTIMIZATION_LEVEL' => '-Osize'
28+
}
29+
30+
spec.user_target_xcconfig = {
31+
'SWIFT_OPTIMIZATION_LEVEL' => '-Osize'
32+
}
2533
end

StreamChat.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Pod::Spec.new do |spec|
2121
spec.source = { git: 'https://github.com/GetStream/stream-chat-swift.git', tag: "#{spec.version}" }
2222
spec.source_files = ['Sources/StreamChat/**/*.swift']
2323
spec.resource_bundles = { 'StreamChat' => ['Sources/StreamChat/**/*.xcdatamodeld'] }
24-
24+
2525
spec.pod_target_xcconfig = {
2626
'SWIFT_OPTIMIZATION_LEVEL' => '-Osize'
2727
}
28-
28+
2929
spec.user_target_xcconfig = {
3030
'SWIFT_OPTIMIZATION_LEVEL' => '-Osize'
3131
}

0 commit comments

Comments
 (0)