forked from chat-sdk/chat-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChatSDKPro.podspec
executable file
·142 lines (104 loc) · 4.81 KB
/
ChatSDKPro.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
Pod::Spec.new do |s|
s.name = "ChatSDKPro"
s.version = "5.1.5"
s.summary = "Chat SDK - Mobile messaging framework for iOS"
s.homepage = "http://chatsdk.co"
s.license = 'Commercial'
s.author = { "Ben Smiley" => "[email protected]" }
s.source = { :git => "https://github.com/chat-sdk/chat-sdk-ios.git", :tag => s.version.to_s }
s.platform = :ios, '10.0'
s.swift_version = "5.0"
# s.requires_arc = true
# s.static_framework = true
s.subspec 'Core' do |s|
s.source_files = ['ChatSDKPro/Core/*']
s.dependency 'ChatSDK'
s.vendored_frameworks = 'ChatSDKPro/Licensing/Licensing.xcframework'
end
s.subspec 'ContactBook' do |s|
s.vendored_frameworks = 'ChatSDKPro/ContactBookModule/ContactBookModule.xcframework'
s.dependency 'ChatSDKPro/Core'
end
s.subspec 'Encryption' do |s|
s.vendored_frameworks = ['ChatSDKPro/EncryptionModule/EncryptionModule.xcframework',
# 'ChatSDKPro/EncryptionModule/VirgilCrypto.framework',
# 'ChatSDKPro/EncryptionModule/VirgilCryptoAPI.framework',
# 'ChatSDKPro/EncryptionModule/VirgilCryptoApiImpl.framework',
# 'ChatSDKPro/EncryptionModule/VSCCrypto.framework',
# 'ChatSDKPro/EncryptionModule/VirgilSDK.framework',
]
s.dependency 'ChatSDKPro/Core'
s.dependency 'VirgilCryptoApiImpl', '~> 3.2.2'
s.dependency 'VirgilSDK', '~> 5.7'
s.dependency 'SAMKeychain'
s.dependency 'QRCodeReader.swift', '~> 10.1.0'
end
s.subspec 'Firebase' do |s|
s.vendored_frameworks = 'ChatSDKPro/FirebaseModules/FirebaseModules.xcframework'
s.dependency 'ChatSDKPro/Core'
s.dependency 'ChatSDKFirebase/Adapter'
end
s.subspec 'Message' do |s|
s.vendored_frameworks = 'ChatSDKPro/MessageModules/MessageModules.xcframework'
s.dependency 'ChatSDKPro/Core'
s.dependency 'FLAnimatedImage'
end
s.subspec 'FirebaseNearbyUsers' do |s|
s.vendored_frameworks = 'ChatSDKPro/FirebaseNearbyUsersModule/FirebaseNearbyUsersModule.xcframework'
s.dependency 'ChatSDKPro/Core'
s.dependency 'ChatSDKFirebase/Adapter'
end
# s.subspec 'ChatK!t' do |s|
# s.ios.deployment_target = '13.0'
# s.source_files = ['ChatK!tExtras/*.{h,m,swift}']
# s.resources = [ 'ChatK!tExtras/*.{xcassets,xib}']
# s.dependency 'ChatK!t'
# s.dependency 'ChatK!t/ChatSDK'
# s.dependency 'ChatSDKPro/Message'
# end
# s.subspec 'XMPPFramework' do |s|
# s.source_files = ['ChatSDKPro/XMPP/XMPPFramework/Core/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Authentication/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Categories/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Jingle/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Utilities/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Extensions/**/*.{h,m,swift}',
# 'ChatSDKPro/XMPP/XMPPFramework/Swift/**/*.{h,m,swift}']
# # s.source_files = 'XMPPFramework/**/**/**/*.{swift,h,m}'
# s.ios.exclude_files = 'ChatSDKPro/XMPP/XMPPFramework/Extensions/SystemInputActivityMonitor/**/*.{h,m}'
# s.resources = [ 'ChatSDKPro/XMPP/XMPPFramework/Resources/*']
# # If we need to use this at some point we can swizzle the XMPPCoreDataStorage object - see Swizzle folder
# # s.resource_bundles = {
# # 'ChatXMPPFramework' => ['XMPPFramework/Extensions/**/*.{xcdatamodel,xcdatamodeld']
# # }
# # s.resource_bundles = {
# # 'ChatXMPPFramework' => ['XMPPFramework/Resources/*']
# # }
# s.dependency 'CocoaLumberjack' # Skip pinning version because of the awkward 2.x->3.x transition
# s.dependency 'CocoaAsyncSocket', '~> 7.6'
# s.dependency 'KissXML', '~> 5.2'
# s.dependency 'libidn', '~> 1.35'
# # end s.dependency 'ChatSDKVendor/Core'
# s.libraries = 'xml2', 'resolv'
# s.frameworks = 'CoreData', 'SystemConfiguration', 'CoreLocation'
# s.xcconfig = {
# 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2 $(SDKROOT)/usr/include/libresolv',
# }
# end
s.subspec 'XMPP' do |s|
s.vendored_frameworks = ['ChatSDKPro/XMPP/ChatSDKXMPP.framework', 'ChatSDKPro/XMPP/ChatSDKVendor.framework']
s.dependency 'SAMKeychain'
s.dependency 'CocoaLumberjack' # Skip pinning version because of the awkward 2.x->3.x transition
s.dependency 'CocoaAsyncSocket', '~> 7.6'
s.dependency 'CocoaAsyncSocket'
s.dependency 'KissXML', '~> 5.2'
s.dependency 'libidn', '~> 1.35'
s.dependency 'ChatSDK'
# s.dependency 'ChatSDKPro/XMPPFramework'
s.libraries = 'xml2', 'resolv'
s.frameworks = 'CoreData', 'SystemConfiguration', 'CoreLocation'
s.xcconfig = {
'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2 $(SDKROOT)/usr/include/libresolv',
}
end
end