2018-03-20 11:59:03 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseFunctions'
|
2020-12-02 18:56:17 -05:00
|
|
|
s.version = '7.2.0'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Cloud Functions for Firebase'
|
2018-03-20 11:59:03 -07:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
2020-03-31 10:21:48 -07:00
|
|
|
Cloud Functions for Firebase.
|
2018-03-20 11:59:03 -07:00
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://developers.google.com/'
|
2018-04-17 07:02:01 -07:00
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
2018-03-20 11:59:03 -07:00
|
|
|
s.authors = 'Google, Inc.'
|
2018-04-17 07:02:01 -07:00
|
|
|
s.source = {
|
|
|
|
|
:git => 'https://github.com/firebase/firebase-ios-sdk.git',
|
2020-10-02 12:26:22 -07:00
|
|
|
:tag => 'CocoaPods-' + s.version.to_s
|
2018-04-17 07:02:01 -07:00
|
|
|
}
|
2018-03-20 11:59:03 -07:00
|
|
|
|
2020-09-22 15:11:35 -07:00
|
|
|
s.ios.deployment_target = '10.0'
|
|
|
|
|
s.osx.deployment_target = '10.12'
|
2019-03-11 13:07:20 -07:00
|
|
|
s.tvos.deployment_target = '10.0'
|
2018-03-20 11:59:03 -07:00
|
|
|
|
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
'Functions/FirebaseFunctions/**/*',
|
|
|
|
|
'Interop/Auth/Public/*.h',
|
|
|
|
|
'FirebaseCore/Sources/Private/*.h',
|
2020-09-03 14:45:56 -04:00
|
|
|
'FirebaseMessaging/Sources/Interop/FIRMessagingInterop.h',
|
2020-06-09 06:09:27 -07:00
|
|
|
]
|
2020-08-03 16:28:14 -07:00
|
|
|
s.public_header_files = 'Functions/FirebaseFunctions/Public/FirebaseFunctions/*.h'
|
2018-03-20 11:59:03 -07:00
|
|
|
|
2020-10-02 12:26:22 -07:00
|
|
|
s.dependency 'FirebaseCore', '~> 7.0'
|
|
|
|
|
s.dependency 'GTMSessionFetcher/Core', '~> 1.4'
|
2018-10-24 11:04:00 -07:00
|
|
|
|
|
|
|
|
s.pod_target_xcconfig = {
|
2018-12-13 08:36:08 -08:00
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
2020-06-09 05:21:28 -07:00
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
2018-10-24 11:04:00 -07:00
|
|
|
}
|
2019-03-07 16:38:31 -08:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2020-09-03 14:45:56 -04:00
|
|
|
unit_tests.source_files = [
|
|
|
|
|
'Functions/Example/Test*/*.[mh]',
|
|
|
|
|
'SharedTestUtilities/FIRAuthInteropFake*',
|
|
|
|
|
'SharedTestUtilities/FIRMessagingInteropFake*',
|
|
|
|
|
]
|
2019-03-07 16:38:31 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.test_spec 'integration' do |int_tests|
|
|
|
|
|
int_tests.source_files = 'Functions/Example/IntegrationTests/*.[mh]',
|
|
|
|
|
'Functions/Example/TestUtils/*.[mh]',
|
2020-07-06 11:30:01 -07:00
|
|
|
'SharedTestUtilities/FIRAuthInteropFake*',
|
2020-09-03 14:45:56 -04:00
|
|
|
'SharedTestUtilities/FIRMessagingInteropFake*',
|
2019-04-19 14:06:21 -07:00
|
|
|
'Functions/Example/GoogleService-Info.plist'
|
2019-03-07 16:38:31 -08:00
|
|
|
end
|
2018-03-20 11:59:03 -07:00
|
|
|
end
|