This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSTRVChat.podspec
70 lines (47 loc) · 3.24 KB
/
STRVChat.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Pod::Spec.new do |spec|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.name = 'STRVChat'
spec.module_name = 'Chat'
spec.version = '0.0.8'
spec.summary = 'Universal Modular Chat Component from STRV'
spec.description = <<-DESC
Universal Modular Chat Component from STRV.
Core is an universal business logic that you can use with any UI and networking
that convorms to respective protocols.
DESC
spec.homepage = 'https://github.com/strvcom/ios-chat-component'
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.license = { :type => 'MIT', :file => 'LICENSE' }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.authors = { 'Jan Schwarz' => 'jan.schwarz@strv.com', 'Tomáš Čejka' => 'tomas.cejka@strv.com', 'Daniel Pecher' => 'daniel.pecher@strv.com', 'Mireya Orta' => 'mireya.orta@strv.com' }
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.platform = :ios, '12.0'
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.source = {
:git => 'https://github.com/strvcom/ios-chat-component.git',
:tag => 'Chat-' + spec.version.to_s
}
spec.static_framework = true
spec.default_subspec = 'ChatMessageKitFirestore'
spec.cocoapods_version = '>= 1.4.0'
spec.swift_version = '5.3'
# ――― Core ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.subspec 'Core' do |subspec|
subspec.dependency 'STRVChatCore', '~> 0.0.9'
end
# ――― MessageKitUI ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.subspec 'UI' do |subspec|
subspec.dependency 'STRVChat/Core'
subspec.dependency 'STRVChatUI', '~> 0.0.7'
end
# ――― NetworkingFirestore ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
spec.subspec 'NetworkingFirestore' do |subspec|
subspec.dependency 'STRVChat/Core'
subspec.dependency 'STRVChatNetworkingFirestore', '~> 0.0.12'
end
spec.subspec 'ChatMessageKitFirestore' do |subspec|
subspec.source_files = 'Chat/*.swift', 'Chat/**/*.swift'
subspec.dependency 'STRVChat/UI'
subspec.dependency 'STRVChat/NetworkingFirestore'
end
end