2018-03-20 11:59:03 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseFunctions'
|
2022-03-23 05:47:17 -07:00
|
|
|
s.version = '8.15.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'
|
2021-08-16 19:08:55 -05:00
|
|
|
s.watchos.deployment_target = '6.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 = [
|
2021-11-02 16:38:55 -07:00
|
|
|
'FirebaseFunctions/Sources/**/*',
|
2022-02-09 13:11:56 -09:00
|
|
|
'FirebaseAuth/Interop/*.h',
|
2022-02-07 08:46:44 -09:00
|
|
|
'FirebaseAppCheck/Interop/*.h',
|
2022-02-07 08:42:49 -09:00
|
|
|
'FirebaseCore/Internal/*.h',
|
2022-02-09 13:11:56 -09:00
|
|
|
'FirebaseMessaging/Interop/FIRMessagingInterop.h',
|
2020-06-09 06:09:27 -07:00
|
|
|
]
|
2021-11-02 16:38:55 -07:00
|
|
|
s.public_header_files = 'FirebaseFunctions/Sources/Public/FirebaseFunctions/*.h'
|
2018-03-20 11:59:03 -07:00
|
|
|
|
2021-04-23 13:49:36 -07:00
|
|
|
s.dependency 'FirebaseCore', '~> 8.0'
|
2021-04-27 07:58:54 -07:00
|
|
|
s.dependency 'GTMSessionFetcher/Core', '~> 1.5'
|
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-12-30 12:50:32 -08:00
|
|
|
unit_tests.scheme = { :code_coverage => true }
|
2020-09-03 14:45:56 -04:00
|
|
|
unit_tests.source_files = [
|
2021-11-02 16:38:55 -07:00
|
|
|
'FirebaseFunctions/Tests/Unit/*.[mh]',
|
|
|
|
|
'FirebaseFunctions/Tests/SwiftUnit/**/*',
|
2020-09-03 14:45:56 -04:00
|
|
|
'SharedTestUtilities/FIRAuthInteropFake*',
|
|
|
|
|
'SharedTestUtilities/FIRMessagingInteropFake*',
|
2021-04-21 21:01:11 -04:00
|
|
|
'SharedTestUtilities/AppCheckFake/*.[mh]',
|
2020-09-03 14:45:56 -04:00
|
|
|
]
|
2019-03-07 16:38:31 -08:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.test_spec 'integration' do |int_tests|
|
2020-12-30 12:50:32 -08:00
|
|
|
int_tests.scheme = { :code_coverage => true }
|
2021-11-02 16:38:55 -07:00
|
|
|
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.[mh]',
|
2020-07-06 11:30:01 -07:00
|
|
|
'SharedTestUtilities/FIRAuthInteropFake*',
|
2021-11-02 16:38:55 -07:00
|
|
|
'SharedTestUtilities/FIRMessagingInteropFake*'
|
2019-03-07 16:38:31 -08:00
|
|
|
end
|
2021-11-12 08:21:11 -08:00
|
|
|
|
2021-12-23 09:21:25 -08:00
|
|
|
# Using environment variable because of the dependency on the unpublished
|
|
|
|
|
# FirebaseFunctionsTestingSupport.
|
|
|
|
|
if ENV['POD_LIB_LINT_ONLY'] && ENV['POD_LIB_LINT_ONLY'] == '1' then
|
|
|
|
|
s.test_spec 'swift-integration' do |swift_int|
|
|
|
|
|
swift_int.platforms = {:ios => '15.0', :osx => '12.0', :tvos => '15.0', :watchos => '8.0'}
|
|
|
|
|
swift_int.scheme = { :code_coverage => true }
|
|
|
|
|
swift_int.dependency 'FirebaseFunctionsTestingSupport'
|
|
|
|
|
swift_int.source_files = 'FirebaseFunctions/Tests/SwiftIntegration/*',
|
|
|
|
|
'FirebaseTestingSupport/Functions/Sources/*'
|
|
|
|
|
end
|
|
|
|
|
end
|
2018-03-20 11:59:03 -07:00
|
|
|
end
|