-
Notifications
You must be signed in to change notification settings - Fork 274
/
ChatSDKFirebase.podspec
executable file
·76 lines (53 loc) · 2.02 KB
/
ChatSDKFirebase.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
Pod::Spec.new do |s|
s.name = "ChatSDKFirebase"
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 = 'ChatSDKFirebase'
s.platform = :ios, '11.0'
s.requires_arc = true
s.swift_version = "5.0"
# s.static_framework = true
s.default_subspec = 'Adapter'
# s.xcconfig = { 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES' }
# s.static_framework = true
s.pod_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
s.subspec 'Core' do |s|
s.source_files = ['ChatSDKFirebase/Core/**/*.{h,m,swift}']
end
s.subspec 'Adapter' do |s|
s.source_files = ['ChatSDKFirebase/Adapter/Classes/**/*.{h,m,swift}']
s.dependency 'FirebaseAuth'
s.dependency 'FirebaseDatabase'
s.dependency 'ChatSDKFirebase/Core'
s.dependency 'ChatSDK'
end
s.subspec 'Upload' do |s|
s.source_files = ['ChatSDKFirebase/Upload/Classes/**/*.{h,m,swift}']
s.dependency 'FirebaseAuth'
s.dependency 'FirebaseDatabase'
s.dependency 'FirebaseStorage'
s.dependency 'ChatSDK'
# s.dependency 'ChatSDKFirebase/Adapter'
end
s.subspec 'Push' do |s|
s.source_files = ['ChatSDKFirebase/Push/Classes/**/*.{h,m,swift}']
s.dependency 'FirebaseAuth'
s.dependency 'FirebaseDatabase'
s.dependency 'FirebaseMessaging'
s.dependency 'FirebaseFunctions'
s.dependency 'ChatSDK'
s.dependency 'ChatSDKFirebase/Core'
end
s.subspec 'FirebaseUI' do |s|
s.source_files = ['ChatSDKFirebase/FirebaseUI/Classes/**/*.{h,m,swift}']
s.dependency 'ChatSDKFirebase/Adapter'
s.dependency 'ChatSDKFirebase/Core'
s.dependency 'FirebaseEmailAuthUI', '~>11.0'
s.dependency 'FirebasePhoneAuthUI', '~>11.0'
s.dependency 'FirebaseOAuthUI', '~>11.0'
end
end