forked from firebase/firebase-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FirebaseFunctions.podspec
52 lines (43 loc) · 1.69 KB
/
FirebaseFunctions.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 = 'FirebaseFunctions'
s.version = '2.6.0'
s.summary = 'Cloud Functions for Firebase'
s.description = <<-DESC
Cloud Functions for Firebase.
DESC
s.homepage = 'https://developers.google.com/'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.authors = 'Google, Inc.'
s.source = {
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
:tag => 'Functions-' + s.version.to_s
}
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.11'
s.tvos.deployment_target = '10.0'
s.cocoapods_version = '>= 1.4.0'
s.static_framework = true
s.prefix_header_file = false
s.source_files = [
'Functions/FirebaseFunctions/**/*',
'Interop/Auth/Public/*.h',
'FirebaseCore/Sources/Private/*.h',
]
s.public_header_files = 'Functions/FirebaseFunctions/Public/*.h'
s.dependency 'FirebaseCore', '~> 6.8'
s.dependency 'GTMSessionFetcher/Core', '~> 1.1'
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'GCC_PREPROCESSOR_DEFINITIONS' => 'FIRFunctions_VERSION=' + s.version.to_s,
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
}
s.test_spec 'unit' do |unit_tests|
unit_tests.source_files = 'Functions/Example/Test*/*.[mh]', 'SharedTestUtilities/FIRAuthInteropFake*'
end
s.test_spec 'integration' do |int_tests|
int_tests.source_files = 'Functions/Example/IntegrationTests/*.[mh]',
'Functions/Example/TestUtils/*.[mh]',
'SharedTestUtilities/FIRAuthInteropFake*',
'Functions/Example/GoogleService-Info.plist'
end
end