Files
firebase-ios-sdk/FirebaseFunctions.podspec
T

72 lines
2.5 KiB
Ruby
Raw Normal View History

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'
s.summary = 'Cloud Functions for Firebase'
2018-03-20 11:59:03 -07:00
s.description = <<-DESC
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'
s.tvos.deployment_target = '10.0'
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
s.source_files = [
'FirebaseFunctions/Sources/**/*',
'Interop/Auth/Public/*.h',
'FirebaseAppCheck/Sources/Interop/*.h',
2022-02-07 08:42:49 -09:00
'FirebaseCore/Internal/*.h',
'FirebaseMessaging/Sources/Interop/FIRMessagingInterop.h',
]
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'
s.dependency 'GTMSessionFetcher/Core', '~> 1.5'
2018-10-24 11:04:00 -07:00
s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
2018-10-24 11:04:00 -07:00
}
s.test_spec 'unit' do |unit_tests|
2020-12-30 12:50:32 -08:00
unit_tests.scheme = { :code_coverage => true }
unit_tests.source_files = [
'FirebaseFunctions/Tests/Unit/*.[mh]',
'FirebaseFunctions/Tests/SwiftUnit/**/*',
'SharedTestUtilities/FIRAuthInteropFake*',
'SharedTestUtilities/FIRMessagingInteropFake*',
'SharedTestUtilities/AppCheckFake/*.[mh]',
]
end
s.test_spec 'integration' do |int_tests|
2020-12-30 12:50:32 -08:00
int_tests.scheme = { :code_coverage => true }
int_tests.source_files = 'FirebaseFunctions/Tests/Integration/*.[mh]',
2020-07-06 11:30:01 -07:00
'SharedTestUtilities/FIRAuthInteropFake*',
'SharedTestUtilities/FIRMessagingInteropFake*'
end
2021-11-12 08:21:11 -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