2019-07-18 09:54:06 -07:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseCoreDiagnostics'
|
2021-06-17 08:42:45 -04:00
|
|
|
s.version = '8.2.0'
|
2019-07-18 09:54:06 -07:00
|
|
|
s.summary = 'Firebase Core Diagnostics'
|
|
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Firebase Core Diagnostics collects diagnostic data to help improve and provide Firebase services.
|
|
|
|
|
This SDK is integrated using a 'soft-link' mechanism and the bits be omitted by using a
|
|
|
|
|
non-Cocoapod integration. This library also respects the Firebase global data collection flag.
|
|
|
|
|
DESC
|
|
|
|
|
|
|
|
|
|
s.homepage = 'https://firebase.google.com'
|
|
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
|
s.authors = 'Google, Inc.'
|
|
|
|
|
|
|
|
|
|
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
|
2019-07-18 09:54:06 -07:00
|
|
|
}
|
2020-10-02 12:26:22 -07:00
|
|
|
|
2019-07-18 09:54:06 -07:00
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2020-12-17 07:45:13 -08:00
|
|
|
|
|
|
|
|
ios_deployment_target = '9.0'
|
|
|
|
|
osx_deployment_target = '10.12'
|
|
|
|
|
tvos_deployment_target = '10.0'
|
|
|
|
|
watchos_deployment_target = '6.0'
|
|
|
|
|
|
|
|
|
|
s.ios.deployment_target = ios_deployment_target
|
|
|
|
|
s.osx.deployment_target = osx_deployment_target
|
|
|
|
|
s.tvos.deployment_target = tvos_deployment_target
|
|
|
|
|
s.watchos.deployment_target = watchos_deployment_target
|
2019-07-18 09:54:06 -07:00
|
|
|
|
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
|
|
|
|
header_search_paths = {
|
2020-08-10 07:46:19 -07:00
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
|
2019-07-18 09:54:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
|
|
|
|
'GCC_TREAT_WARNINGS_AS_ERRORS' => 'YES',
|
|
|
|
|
'CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY' => 'YES',
|
|
|
|
|
'GCC_PREPROCESSOR_DEFINITIONS' =>
|
|
|
|
|
# The nanopb pod sets these defs, so we must too. (We *do* require 16bit
|
|
|
|
|
# (or larger) fields, so we'd have to set at least PB_FIELD_16BIT
|
|
|
|
|
# anyways.)
|
|
|
|
|
'PB_FIELD_32BIT=1 PB_NO_PACKED_STRUCTS=1 PB_ENABLE_MALLOC=1',
|
|
|
|
|
}.merge(header_search_paths)
|
|
|
|
|
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
'Firebase/CoreDiagnostics/FIRCDLibrary/**/*.[cmh]',
|
|
|
|
|
'Interop/CoreDiagnostics/Public/*.h',
|
|
|
|
|
]
|
2020-09-11 13:45:08 -04:00
|
|
|
s.public_header_files = 'Firebase/CoreDiagnostics/FIRCDLibrary/Public/*.h'
|
2020-06-09 06:09:27 -07:00
|
|
|
|
2019-07-18 09:54:06 -07:00
|
|
|
s.framework = 'Foundation'
|
|
|
|
|
|
2021-04-19 17:01:28 -04:00
|
|
|
s.dependency 'GoogleDataTransport', '~> 9.0'
|
2021-04-27 07:58:54 -07:00
|
|
|
s.dependency 'GoogleUtilities/Environment', '~> 7.4'
|
|
|
|
|
s.dependency 'GoogleUtilities/Logger', '~> 7.4'
|
2021-03-29 16:23:24 -04:00
|
|
|
s.dependency 'nanopb', '~> 2.30908.0'
|
2019-07-18 09:54:06 -07:00
|
|
|
|
|
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2020-12-30 12:50:32 -08:00
|
|
|
unit_tests.scheme = { :code_coverage => true }
|
2020-12-17 07:45:13 -08:00
|
|
|
unit_tests.platforms = {
|
|
|
|
|
:ios => ios_deployment_target,
|
|
|
|
|
:osx => osx_deployment_target,
|
|
|
|
|
:tvos => tvos_deployment_target
|
|
|
|
|
}
|
2021-04-27 07:58:54 -07:00
|
|
|
unit_tests.dependency 'GoogleUtilities/UserDefaults', '~> 7.4'
|
2019-07-18 09:54:06 -07:00
|
|
|
unit_tests.dependency 'OCMock'
|
2020-06-16 09:05:29 -07:00
|
|
|
unit_tests.source_files = [
|
|
|
|
|
'Example/CoreDiagnostics/Tests/**/*.[mh]',
|
|
|
|
|
]
|
2019-07-18 09:54:06 -07:00
|
|
|
unit_tests.requires_app_host = false
|
|
|
|
|
end
|
|
|
|
|
end
|