forked from robingenz/capacitor-firebase-authentication
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobingenzCapacitorFirebaseAuthentication.podspec
More file actions
35 lines (30 loc) · 1.16 KB
/
RobingenzCapacitorFirebaseAuthentication.podspec
File metadata and controls
35 lines (30 loc) · 1.16 KB
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 = 'RobingenzCapacitorFirebaseAuthentication'
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 = '12.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Auth', '8.12.1'
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.0.0'
end
s.subspec 'Facebook' do |facebook|
facebook.xcconfig = { 'OTHER_SWIFT_FLAGS' => '$(inherited) -DRGCFA_INCLUDE_FACEBOOK' }
facebook.dependency 'FBSDKCoreKit', '11.1.0'
facebook.dependency 'FBSDKLoginKit', '11.1.0'
end
end