forked from capawesome-team/capacitor-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CapacitorFirebaseAuthentication.podspec
35 lines (30 loc) · 1.15 KB
/
CapacitorFirebaseAuthentication.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
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'CapacitorFirebaseAuthentication'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '13.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Auth', '10.2.0'
s.swift_version = '5.1'
s.static_framework = true
s.default_subspec = 'Lite'
s.subspec 'Lite' do |lite|
# Default subspec that does not contain optional third party dependencies.
end
s.subspec 'Google' do |google|
google.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -DRGCFA_INCLUDE_GOOGLE' }
google.dependency 'GoogleSignIn', '6.2.4'
end
s.subspec 'Facebook' do |facebook|
facebook.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -DRGCFA_INCLUDE_FACEBOOK' }
facebook.dependency 'FBSDKCoreKit', '15.1.0'
facebook.dependency 'FBSDKLoginKit', '15.1.0'
end
end