-
Notifications
You must be signed in to change notification settings - Fork 49
/
FirebaseFirestoreInternalBinary.podspec
executable file
·57 lines (48 loc) · 2.72 KB
/
FirebaseFirestoreInternalBinary.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
firebase_firestore_version='11.5.0'
firebase_firestore_abseil_url='https://github.com/invertase/firestore-ios-sdk-frameworks/raw/11.5.0/Archives/abseil.zip'
firebase_firestore_abseil_version='1.2024011602.0'
firebase_firestore_grpc_version='1.65.1'
firebase_firestore_grpc_version_url='https://github.com/invertase/firestore-ios-sdk-frameworks/raw/11.5.0/Archives/grpc.zip'
firebase_firestore_grpc_ccp_version_url='https://github.com/invertase/firestore-ios-sdk-frameworks/raw/11.5.0/Archives/grpcpp.zip'
firebase_firestore_leveldb_version='~> 1.22'
firebase_firestore_nanopb_version='~> 3.30910.0'
firebase_firestore_grpc_boringssl_url='https://github.com/invertase/firestore-ios-sdk-frameworks/raw/11.5.0/Archives/openssl.zip'
firebase_firestore_internal_url='https://github.com/invertase/firestore-ios-sdk-frameworks/raw/11.5.0/Archives/firestore_internal.zip'
Pod::Spec.new do |s|
s.name = 'FirebaseFirestoreInternalBinary'
s.version = firebase_firestore_version
s.summary = 'A replica Firebase Firestore podspec.'
s.description = 'A replica Firebase Firestore podspec that provides pre-compiled binaries/frameworks instead'
s.homepage = 'https://invertase.io'
s.license = 'Apache-2.0'
# See https://github.com/firebase/firebase-ios-sdk/blob/main/Package.swift
s.source = {
:http => firebase_firestore_internal_url
}
s.cocoapods_version = '>= 1.12.0'
s.authors = 'Invertase Limited'
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-lObjC' }
s.static_framework = true
# These frameworks, minimums, and the c++ library are here from, and copied specifically to match, the upstream podspec:
# https://github.com/firebase/firebase-ios-sdk/blob/34c4bdbce23f5c6e739bda83b71ba592d6400cd5/FirebaseFirestore.podspec#L103
# They may need updating periodically.
s.ios.frameworks = 'SystemConfiguration', 'UIKit'
s.osx.frameworks = 'SystemConfiguration'
s.tvos.frameworks = 'SystemConfiguration', 'UIKit'
s.library = 'c++'
s.ios.deployment_target = '13.0'
s.osx.deployment_target = '10.15'
s.tvos.deployment_target = '13.0'
s.swift_version = '5.3'
s.vendored_frameworks = [
"FirebaseFirestoreInternal.xcframework",
]
s.resource_bundles = {
"#{s.module_name}_Privacy" => 'PrivacyInfo.xcprivacy'
}
s.dependency 'FirebaseFirestoreGRPCCPPBinary', firebase_firestore_grpc_version
s.dependency 'FirebaseFirestoreAbseilBinary', firebase_firestore_abseil_version
s.dependency 'FirebaseCore', firebase_firestore_version
s.dependency 'leveldb-library', firebase_firestore_leveldb_version
s.dependency 'nanopb', firebase_firestore_nanopb_version
end