-
Notifications
You must be signed in to change notification settings - Fork 274
/
ChatSDK.podspec
executable file
·117 lines (84 loc) · 3.02 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
Pod::Spec.new do |s|
s.name = "ChatSDK"
s.version = "5.2.2"
s.summary = "Chat SDK - Mobile messaging framework for iOS"
s.homepage = "https://chatsdk.co"
s.license = { :type => 'Chat SDK License' }
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, '11.0'
s.requires_arc = true
s.swift_version = "5.0"
# s.static_framework = true
# s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
s.default_subspec = 'Complete'
# s.static_framework = true
s.subspec 'Complete' do |s|
s.dependency 'ChatSDK/UI'
s.dependency 'ChatSDK/Reachability'
end
s.subspec 'Core' do |s|
s.source_files = ['ChatSDKCore/Classes/**/*']
s.resource_bundles = {
'ChatCore' => ['ChatSDKCore/Assets/**/*']
}
s.dependency 'RXPromise', '~> 1.0'
# s.dependency 'AFNetworking/NSURLSession', '~>4.0.1'
s.dependency 'MZDownloadManager'
s.dependency 'DateTools', '~> 2.0'
s.dependency 'SAMKeychain'
s.dependency 'RxSwift', '~>6.2.0'
s.dependency 'RxCocoa', '~>6.2.0'
s.frameworks = 'SafariServices'
end
s.subspec 'Reachability' do |s|
s.source_files = ['ChatSDKExtras/Reachability/Classes/**/*']
s.dependency 'Reachability'
s.dependency 'ChatSDK/Core'
end
s.subspec 'CoreData' do |s|
s.source_files = ['ChatSDKCoreData/Classes/**/*']
s.resource_bundles = {
'ChatCoreData' => ['ChatSDKCoreData/Assets/**/*']
}
s.frameworks = 'UIKit', 'CoreData'
s.dependency 'ChatSDK/Core'
end
s.subspec 'UI' do |s|
s.source_files = ['ChatSDKUI/Classes/**/*.{swift,h,m}']
s.resource_bundles = {
'ChatUI' => ['ChatSDKUI/Assets/**/*', 'ChatSDKUI/Interface/**/*']
}
s.dependency 'MBProgressHUD', '~> 1.2.0'
s.dependency 'VENTokenField', '~> 2.0'
s.dependency 'SDWebImage', '~> 5.0'
s.dependency 'StaticDataTableViewController', '~> 2.0'
s.dependency 'CropViewController', '~> 2.0'
s.dependency 'Hakawai', '~> 5.1.5'
s.dependency 'ChatSDKKeepLayout'
s.dependency 'Toast', '~>4.0.0'
s.dependency 'EFQRCode'
s.dependency 'CollectionKit'
s.dependency 'QuickTableViewController'
s.dependency 'ZLImageEditor'
s.dependency 'ChatSDK/CoreData'
s.frameworks = 'CoreLocation'
end
s.subspec 'ModAddContactWithQRCode' do |s|
s.source_files = ['ChatSDKExtras/AddContactWithQRCode/**/*.{swift,h,m}']
s.dependency 'ChatSDK/UI'
end
s.subspec 'Base64ImageMessage' do |s|
s.source_files = ['ChatSDKExtras/Base64ImageMessage/**/*.{swift,h,m}']
s.dependency 'ChatSDK/UI'
end
# s.subspec 'Extras' do |s|
# s.source_files = ['ChatSDKExtras/Classes/**/*']
# s.resource_bundles = {
# 'ChatExtras' => ['ChatSDKExtras/Assets/**/*', 'ChatSDKExtras/Interface/**/*']
# }
# s.dependency 'SideMenu'
# s.dependency 'ChatSDK/UI'
# end
end