forked from firebase/FirebaseUI-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFirebaseUI.podspec
52 lines (45 loc) · 2.06 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
Pod::Spec.new do |s|
s.name = 'FirebaseUI'
s.version = '0.4.0'
s.summary = 'UI binding libraries for Firebase.'
s.homepage = 'https://github.com/firebase/FirebaseUI-iOS'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
s.author = { 'Firebase' => '[email protected]' }
s.source = { :http => 'https://dl.google.com/firebase/firebaseui/ios/0_4_0/FirebaseUIFrameworks.zip' }
s.platform = :ios
s.ios.deployment_target = '7.0'
s.ios.framework = 'UIKit'
s.requires_arc = true
s.default_subspecs = 'All'
s.subspec 'All' do |all|
all.dependency 'FirebaseUI/Database'
all.dependency 'FirebaseUI/Auth'
end
s.subspec 'Database' do |database|
database.vendored_frameworks = ["FirebaseUIFrameworks/Database/Frameworks/FirebaseDatabaseUI.framework"]
database.dependency 'Firebase/Database', '~> 3.0'
end
s.subspec 'Auth' do |auth|
auth.dependency 'FirebaseUI/AuthBase'
auth.dependency 'FirebaseUI/Facebook'
auth.dependency 'FirebaseUI/Google'
end
s.subspec 'AuthBase' do |authbase|
authbase.vendored_frameworks = ["FirebaseUIFrameworks/Auth/Frameworks/FirebaseAuthUI.framework"]
authbase.resources = ["FirebaseUIFrameworks/Auth/Resources/FirebaseAuthUIBundle.bundle"]
authbase.dependency 'Firebase/Analytics', '~> 3.0'
authbase.dependency 'Firebase/Auth', '~> 3.0'
end
s.subspec 'Facebook' do |facebook|
facebook.vendored_frameworks = ["FirebaseUIFrameworks/Facebook/Frameworks/FirebaseFacebookAuthUI.framework"]
facebook.resources = ["FirebaseUIFrameworks/Facebook/Resources/FirebaseFacebookAuthUIBundle.bundle"]
facebook.dependency 'FirebaseUI/AuthBase'
facebook.dependency 'FBSDKLoginKit', '~> 4.0'
end
s.subspec 'Google' do |google|
google.vendored_frameworks = ["FirebaseUIFrameworks/Google/Frameworks/FirebaseGoogleAuthUI.framework"]
google.resources = ["FirebaseUIFrameworks/Google/Resources/FirebaseGoogleAuthUIBundle.bundle"]
google.dependency 'FirebaseUI/AuthBase'
google.dependency 'GoogleSignIn', '~> 4.0'
end
end