forked from firebase/FirebaseUI-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FirebaseUI.podspec
155 lines (143 loc) · 7.81 KB
/
FirebaseUI.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
144
145
146
147
148
149
150
151
152
153
154
155
Pod::Spec.new do |s|
s.name = 'FirebaseUI'
s.version = '8.4.2'
s.summary = 'UI binding libraries for Firebase.'
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/firebase/FirebaseUI-iOS.git', :tag => 'v' + s.version.to_s}
s.author = 'Firebase'
s.platform = :ios
s.ios.deployment_target = '9.0'
s.static_framework = true
s.ios.framework = 'UIKit'
s.requires_arc = true
s.public_header_files = 'FirebaseUI.h'
s.source_files = 'FirebaseUI.h'
s.cocoapods_version = '>= 1.5.0'
s.subspec 'Database' do |database|
database.platform = :ios, '8.0'
database.public_header_files = 'Database/FirebaseDatabaseUI/*.h'
database.source_files = 'Database/FirebaseDatabaseUI/*.{h,m}'
database.dependency 'Firebase/Database', '~> 6.0'
database.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseDatabaseUI' }
end
s.subspec 'Firestore' do |firestore|
firestore.platform = :ios, '8.0'
firestore.public_header_files = 'Firestore/FirebaseFirestoreUI/*.h'
firestore.source_files = 'Firestore/FirebaseFirestoreUI/*.{h,m}'
firestore.dependency 'Firebase/Firestore'
firestore.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseFirestoreUI' }
end
s.subspec 'Storage' do |storage|
storage.ios.deployment_target = '8.0'
# storage.tvos.deployment_target = '11.0' Disabled; one of the dependencies doesn't support tvOS.
storage.public_header_files = 'Storage/FirebaseStorageUI/*.h'
storage.source_files = 'Storage/FirebaseStorageUI/*.{h,m}'
storage.dependency 'Firebase/Storage', '~> 6.0'
storage.dependency 'SDWebImage', '~> 5.6'
storage.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseStorageUI' }
end
s.subspec 'Auth' do |auth|
auth.platform = :ios, '8.0'
auth.public_header_files = ['Auth/FirebaseAuthUI/AccountManagement/FUIAccountSettingsOperationType.h',
'Auth/FirebaseAuthUI/AccountManagement/FUIAccountSettingsViewController.h',
'Auth/FirebaseAuthUI/FirebaseAuthUI.h',
'Auth/FirebaseAuthUI/FUIAuth.h',
'Auth/FirebaseAuthUI/FUIAuth_Internal.h',
'Auth/FirebaseAuthUI/FUIAuthBaseViewController.h',
'Auth/FirebaseAuthUI/FUIAuthBaseViewController_Internal.h',
'Auth/FirebaseAuthUI/FUIAuthErrors.h',
'Auth/FirebaseAuthUI/FUIAuthErrorUtils.h',
'Auth/FirebaseAuthUI/FUIAuthPickerViewController.h',
'Auth/FirebaseAuthUI/FUIAuthProvider.h',
'Auth/FirebaseAuthUI/FUIEmailEntryViewController.h',
'Auth/FirebaseAuthUI/FUIPasswordRecoveryViewController.h',
'Auth/FirebaseAuthUI/FUIPasswordSignInViewController.h',
'Auth/FirebaseAuthUI/FUIPasswordSignUpViewController.h',
'Auth/FirebaseAuthUI/FUIPasswordVerificationViewController.h',
'Auth/FirebaseAuthUI/FUIAuthUtils.h',
'Auth/FirebaseAuthUI/FUIAuthStrings.h',
'Auth/FirebaseAuthUI/FUIPrivacyAndTermsOfServiceView.h',
'Auth/FirebaseAuthUI/FUIAuthTableViewCell.h',
'Auth/FirebaseAuthUI/FUIAuthTableHeaderView.h']
auth.source_files = ['Auth/FirebaseAuthUI/**/*.{h,m}', 'Auth/FirebaseAuthUI/*.{h,m}']
auth.dependency 'Firebase/Auth', '~> 6.0'
auth.dependency 'GoogleUtilities/UserDefaults'
auth.resource_bundle = {
'FirebaseAuthUI' => ['Auth/FirebaseAuthUI/**/*.{xib,png,lproj}']
}
auth.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseAuthUI' }
end
s.subspec 'Anonymous' do |anonymous|
anonymous.platform = :ios, '8.0'
anonymous.public_header_files = 'AnonymousAuth/FirebaseAnonymousAuthUI/*.h'
anonymous.source_files = 'AnonymousAuth/FirebaseAnonymousAuthUI/*.{h,m}'
anonymous.dependency 'FirebaseUI/Auth'
anonymous.resource_bundle = {
'FirebaseAnonymousAuthUI' => ['AnonymousAuth/FirebaseAnonymousAuthUI/**/*.{png,lproj}']
}
anonymous.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseAnonymousAuthUI' }
end
s.subspec 'Email' do |email|
email.platform = :ios, '8.0'
email.public_header_files = ['EmailAuth/FirebaseEmailAuthUI/FirebaseEmailAuthUI.h',
'EmailAuth/FirebaseEmailAuthUI/FUIConfirmEmailViewController.h',
'EmailAuth/FirebaseEmailAuthUI/FUIEmailAuth.h',
'EmailAuth/FirebaseEmailAuthUI/FUIEmailEntryViewController.h',
'EmailAuth/FirebaseEmailAuthUI/FUIPasswordRecoveryViewController.h',
'EmailAuth/FirebaseEmailAuthUI/FUIPasswordSignInViewController.h',
'EmailAuth/FirebaseEmailAuthUI/FUIPasswordSignUpViewController.h',
'EmailAuth/FirebaseEmailAuthUI/FUIPasswordVerificationViewController.h']
email.source_files = 'EmailAuth/FirebaseEmailAuthUI/**/*.{h,m}'
email.dependency 'FirebaseUI/Auth'
email.resource_bundle = {
'FirebaseEmailAuthUI' => ['EmailAuth/FirebaseEmailAuthUI/*.xib',
'EmailAuth/FirebaseEmailAuthUI/**/*.{xib,json,lproj,png}']
}
email.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseEmailAuthUI' }
end
s.subspec 'Facebook' do |facebook|
facebook.platform = :ios, '8.0'
facebook.public_header_files = 'FacebookAuth/FirebaseFacebookAuthUI/*.h'
facebook.source_files = 'FacebookAuth/FirebaseFacebookAuthUI/*.{h,m}'
facebook.dependency 'FirebaseUI/Auth'
facebook.dependency 'FBSDKLoginKit', '~> 5.0'
facebook.resource_bundle = {
'FirebaseFacebookAuthUI' => ['FacebookAuth/FirebaseFacebookAuthUI/**/*.{png,lproj}']
}
facebook.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseFacebookAuthUI' }
end
s.subspec 'Google' do |google|
google.platform = :ios, '8.0'
google.public_header_files = 'GoogleAuth/FirebaseGoogleAuthUI/*.h'
google.source_files = 'GoogleAuth/FirebaseGoogleAuthUI/*.{h,m}'
google.dependency 'FirebaseUI/Auth'
google.dependency 'GoogleSignIn', '~> 5.0'
google.resource_bundle = {
'FirebaseGoogleAuthUI' => ['GoogleAuth/FirebaseGoogleAuthUI/**/*.{png,lproj}']
}
google.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseGoogleAuthUI' }
end
s.subspec 'OAuth' do |oauth|
oauth.platform = :ios, '8.0'
oauth.public_header_files = 'OAuth/FirebaseOAuthUI/*.h'
oauth.source_files = 'OAuth/FirebaseOAuthUI/*.{h,m}'
oauth.dependency 'FirebaseUI/Auth'
oauth.resource_bundle = {
'FirebaseOAuthUI' => ['OAuth/FirebaseOAuthUI/**/*.{png,lproj}']
}
oauth.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebaseOAuthUI' }
end
s.subspec 'Phone' do |phone|
phone.platform = :ios, '8.0'
phone.public_header_files = ['PhoneAuth/FirebasePhoneAuthUI/FirebasePhoneAuthUI.h',
'PhoneAuth/FirebasePhoneAuthUI/FUIPhoneAuth.h']
phone.source_files = 'PhoneAuth/FirebasePhoneAuthUI/**/*.{h,m}'
phone.dependency 'FirebaseUI/Auth'
phone.resource_bundle = {
'FirebasePhoneAuthUI' => ['PhoneAuth/FirebasePhoneAuthUI/*.xib',
'PhoneAuth/FirebasePhoneAuthUI/**/*.{xib,json,lproj,png}']
}
phone.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/FirebaseUI/FirebasePhoneAuthUI' }
end
end