Skip to content

Commit 9e81f19

Browse files
Add source tag to podspec (#503)
1 parent b106929 commit 9e81f19

File tree

2 files changed

+32
-33
lines changed

2 files changed

+32
-33
lines changed

StreamChatSwiftUI-XCFramework.podspec

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChatSwiftUI-XCFramework"
3-
spec.version = "4.56.0"
4-
spec.summary = "StreamChat SwiftUI Chat Components"
5-
spec.description = "StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK."
2+
spec.name = 'StreamChatSwiftUI-XCFramework'
3+
spec.version = '4.56.0'
4+
spec.summary = 'StreamChat SwiftUI Chat Components'
5+
spec.description = 'StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
1111
spec.swift_version = '5.2'
12-
spec.platform = :ios, "14.0"
12+
spec.platform = :ios, '14.0'
1313
spec.requires_arc = true
1414

15-
spec.module_name = "StreamChatSwiftUI"
16-
spec.source = { :http => "https://github.com/GetStream/stream-chat-swiftui/releases/download/#{spec.version}/#{spec.module_name}.zip" }
15+
spec.module_name = 'StreamChatSwiftUI'
16+
spec.source = { http: "https://github.com/GetStream/stream-chat-swiftui/releases/download/#{spec.version}/#{spec.module_name}.zip" }
1717
spec.vendored_frameworks = "#{spec.module_name}.xcframework"
1818
spec.preserve_paths = "#{spec.module_name}.xcframework/*"
1919

20-
spec.framework = "Foundation", "UIKit", "SwiftUI"
20+
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
2121

22-
spec.dependency "StreamChat-XCFramework", "~> 4.56.0"
22+
spec.dependency 'StreamChat-XCFramework', '~> 4.56.0'
2323

24-
spec.cocoapods_version = ">= 1.11.0"
24+
spec.cocoapods_version = '>= 1.11.0'
2525
end

StreamChatSwiftUI.podspec

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
Pod::Spec.new do |spec|
2-
spec.name = "StreamChatSwiftUI"
3-
spec.version = "4.56.0"
4-
spec.summary = "StreamChat SwiftUI Chat Components"
5-
spec.description = "StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK."
2+
spec.name = 'StreamChatSwiftUI'
3+
spec.version = '4.56.0'
4+
spec.summary = 'StreamChat SwiftUI Chat Components'
5+
spec.description = 'StreamChatSwiftUI SDK offers flexible SwiftUI components able to display data provided by StreamChat SDK.'
66

7-
spec.homepage = "https://getstream.io/chat/"
8-
spec.license = { :type => "BSD-3", :file => "LICENSE" }
9-
spec.author = { "getstream.io" => "[email protected]" }
10-
spec.social_media_url = "https://getstream.io"
11-
spec.swift_version = "5.2"
12-
spec.platform = :ios, "14.0"
13-
spec.source = { :git => "https://github.com/GetStream/stream-chat-swiftui.git" }
14-
spec.requires_arc = true
7+
spec.homepage = 'https://getstream.io/chat/'
8+
spec.license = { type: 'BSD-3', file: 'LICENSE' }
9+
spec.author = { 'getstream.io' => '[email protected]' }
10+
spec.social_media_url = 'https://getstream.io'
11+
spec.swift_version = '5.2'
12+
spec.platform = :ios, '14.0'
13+
spec.source = { git: 'https://github.com/GetStream/stream-chat-swiftui.git', tag: spec.version }
14+
spec.requires_arc = true
1515

16-
spec.source_files = ["Sources/StreamChatSwiftUI/**/*.swift"]
17-
spec.exclude_files = ["Sources/StreamChatSwiftUI/**/*_Tests.swift", "Sources/StreamChatSwiftUI/**/*_Mock.swift"]
18-
spec.resource_bundles = { "StreamChatSwiftUI" => ["Sources/StreamChatSwiftUI/Resources/**/*"] }
16+
spec.source_files = ['Sources/StreamChatSwiftUI/**/*.swift']
17+
spec.exclude_files = ['Sources/StreamChatSwiftUI/**/*_Tests.swift', 'Sources/StreamChatSwiftUI/**/*_Mock.swift']
18+
spec.resource_bundles = { spec.name => ['Sources/StreamChatSwiftUI/Resources/**/*'] }
1919

20-
spec.framework = "Foundation", "UIKit", "SwiftUI"
21-
22-
spec.dependency "StreamChat", "~> 4.56.0"
23-
end
20+
spec.framework = 'Foundation', 'UIKit', 'SwiftUI'
2421

22+
spec.dependency 'StreamChat', '~> 4.56.0'
23+
end

0 commit comments

Comments
 (0)