forked from chat-sdk/chat-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatSDK.podspec
143 lines (119 loc) · 3.72 KB
/
ChatSDK.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Pod::Spec.new do |s|
s.name = "ChatSDK"
s.version = "4.10.2"
s.summary = "Chat SDK - Mobile messaging framework for iOS"
s.homepage = "http://chatsdk.co"
s.license = { :type => 'Chat SDK License', :file => 'LICENSE.md' }
s.author = { "Ben Smiley" => "[email protected]" }
s.source = { :git => "https://github.com/chat-sdk/chat-sdk-ios.git", :tag => s.version.to_s }
s.module_name = 'ChatSDK'
s.platform = :ios, '9.0'
s.requires_arc = true
s.default_subspec = 'Complete'
# s.static_framework = true
s.subspec 'Complete' do |core|
core.dependency 'ChatSDK/UI'
core.dependency 'ChatSDK/Reachability'
end
s.subspec 'Core' do |core|
core.source_files = ['ChatSDKCore/Classes/**/*']
core.resource_bundles = {
'ChatCore' => ['ChatSDKCore/Assets/**/*']
}
core.dependency 'RXPromise', '~> 1.0'
core.dependency 'AFNetworking', '~>3.2.1'
core.dependency 'DateTools', '~> 2.0'
core.dependency 'SAMKeychain'
core.frameworks = 'SafariServices'
end
s.subspec 'Reachability' do |reach|
reach.source_files = ['ChatSDKExtras/Reachability/Classes/**/*']
reach.dependency 'Reachability'
reach.dependency 'ChatSDK/Core'
end
s.subspec 'CoreData' do |cd|
cd.source_files = ['ChatSDKCoreData/Classes/**/*']
cd.resource_bundles = {
'ChatCoreData' => ['ChatSDKCoreData/Assets/**/*']
}
cd.frameworks = 'UIKit', 'CoreData'
cd.dependency 'ChatSDK/Core'
end
s.subspec 'UI' do |ui|
ui.source_files = ['ChatSDKUI/Classes/**/*']
ui.resource_bundles = {
'ChatUI' => ['ChatSDKUI/Assets/**/*', 'ChatSDKUI/Interface/**/*']
}
ui.dependency 'MBProgressHUD', '~> 1.0'
ui.dependency 'VENTokenField', '~> 2.0'
ui.dependency 'SDWebImage', '~> 4.0'
ui.dependency 'StaticDataTableViewController', '~> 2.0'
ui.dependency 'CountryPicker', '~> 1.0'
ui.dependency 'TOCropViewController', '~> 2.0'
ui.dependency 'Hakawai', '~> 5.1.5'
ui.dependency 'ChatSDKKeepLayout'
ui.dependency 'Toast', '~>4.0.0'
ui.dependency 'ChatSDK/CoreData'
ui.frameworks = 'CoreLocation'
end
# s.subspec 'Extras' do |ex|
#
# ex.source_files = ['ChatSDKExtras/Classes/**/*']
# ex.resource_bundles = {
# 'ChatExtras' => ['ChatSDKExtras/Assets/**/*', 'ChatSDKExtras/Interface/**/*']
# }
#
# ex.dependency 'SideMenu'
#
# ex.dependency 'ChatSDK/UI'
#
# end
# s.subspec 'FirebaseAdapter' do |fb|
#
# fb.source_files = ['ChatSDKFirebase/FirebaseNetworkAdapter/Classes/**/*']
#
# fb.dependency 'Firebase/Auth'
# fb.dependency 'Firebase/Database'
#
# fb.dependency 'ChatSDK/Core'
#
# end
#
# s.subspec 'FirebaseFileStorage' do |ffs|
#
# ffs.source_files = ['ChatSDKFirebase/FirebaseFileStorage/Classes/**/*']
#
# ffs.dependency 'Firebase/Storage'
# ffs.dependency 'ChatSDK/FirebaseAdapter'
#
# end
#
# s.subspec 'FirebasePush' do |fp|
#
# fp.source_files = ['ChatSDKFirebase/FirebasePush/Classes/**/*']
#
# fp.dependency 'Firebase/Messaging'
# fp.dependency 'Firebase/Functions'
# fp.dependency 'ChatSDK/FirebaseAdapter'
#
# end
#
# s.subspec 'FirebaseSocialLogin' do |fsl|
#
# fsl.source_files = ['ChatSDKFirebase/FirebaseSocialLogin/Classes/**/*']
# fsl.resource_bundles = {
# 'ChatFirebaseSocialLogin' => ['ChatSDKFirebase/FirebaseSocialLogin/Assets/**/*']
# }
#
# # fsl.dependency 'TwitterKit', '<3.3.0'
# # fsl.dependency 'TwitterCore', '<3.1.0'
# fsl.dependency 'TwitterKit'
# fsl.dependency 'TwitterCore'
# fsl.dependency 'GoogleSignIn'
# fsl.dependency 'FBSDKLoginKit'
#
# fsl.dependency 'ChatSDK/FirebaseAdapter'
# fsl.dependency 'ChatSDK/UI'
#
# end
end