2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseCore'
|
2020-09-22 18:38:11 -04:00
|
|
|
s.version = '6.10.3'
|
2020-03-31 10:21:48 -07:00
|
|
|
s.summary = 'Firebase Core'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
|
|
|
|
s.description = <<-DESC
|
|
|
|
|
Firebase Core includes FIRApp and FIROptions which provide central configuration for other Firebase services.
|
|
|
|
|
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',
|
2018-07-26 14:28:17 -04:00
|
|
|
:tag => 'Core-' + s.version.to_s
|
2017-11-21 17:02:22 -08:00
|
|
|
}
|
|
|
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
2020-09-22 15:11:35 -07:00
|
|
|
s.ios.deployment_target = '9.0'
|
|
|
|
|
s.osx.deployment_target = '10.12'
|
2018-01-03 12:12:22 -08:00
|
|
|
s.tvos.deployment_target = '10.0'
|
2019-12-23 16:45:19 -08:00
|
|
|
s.watchos.deployment_target = '6.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
|
2018-02-16 07:43:20 -08:00
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
2017-11-21 17:02:22 -08:00
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
2020-06-09 06:09:27 -07:00
|
|
|
s.source_files = [
|
|
|
|
|
'FirebaseCore/Sources/**/*.[mh]',
|
2020-06-16 09:05:29 -07:00
|
|
|
'GoogleUtilities/Environment/Private/*.h',
|
|
|
|
|
'GoogleUtilities/Logger/Private/*.h',
|
2020-06-09 06:09:27 -07:00
|
|
|
'Interop/CoreDiagnostics/Public/*.h',
|
|
|
|
|
]
|
2020-07-23 05:47:01 -07:00
|
|
|
s.public_header_files = [
|
|
|
|
|
'FirebaseCore/Sources/Public/FirebaseCore/*.h',
|
|
|
|
|
'FirebaseCore/Sources/Private/*.h',
|
|
|
|
|
]
|
2020-01-06 07:11:40 -08:00
|
|
|
s.private_header_files = 'FirebaseCore/Sources/Private/*.h'
|
2020-06-09 06:09:27 -07:00
|
|
|
|
2018-10-25 09:42:45 -07:00
|
|
|
s.framework = 'Foundation'
|
2019-07-29 15:50:13 -07:00
|
|
|
s.ios.framework = 'UIKit'
|
|
|
|
|
s.osx.framework = 'AppKit'
|
|
|
|
|
s.tvos.framework = 'UIKit'
|
2020-06-16 09:05:29 -07:00
|
|
|
s.dependency 'GoogleUtilities/Environment', '~> 6.7'
|
|
|
|
|
s.dependency 'GoogleUtilities/Logger', '~> 6.7'
|
2020-08-18 10:03:53 -07:00
|
|
|
s.dependency 'FirebaseCoreDiagnostics', '~> 1.6'
|
2019-07-18 09:54:06 -07:00
|
|
|
|
2018-01-01 17:43:54 -08:00
|
|
|
s.pod_target_xcconfig = {
|
2018-10-24 11:04:00 -07:00
|
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
2018-06-05 07:51:07 -07:00
|
|
|
'GCC_PREPROCESSOR_DEFINITIONS' =>
|
2020-09-22 18:38:11 -04:00
|
|
|
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=6.33.0',
|
2020-01-06 07:11:40 -08:00
|
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
|
2018-10-24 11:04:00 -07:00
|
|
|
'OTHER_CFLAGS' => '-fno-autolink'
|
2018-01-01 17:43:54 -08:00
|
|
|
}
|
2019-05-06 13:54:34 -07:00
|
|
|
s.test_spec 'unit' do |unit_tests|
|
2019-12-23 16:45:19 -08:00
|
|
|
unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
|
2020-09-28 14:08:16 -07:00
|
|
|
unit_tests.source_files = [
|
|
|
|
|
'FirebaseCore/Tests/Unit/**/*.[mh]',
|
|
|
|
|
'SharedTestUtilities/FIROptionsMock.[mh]',
|
|
|
|
|
]
|
2019-05-06 13:54:34 -07:00
|
|
|
unit_tests.requires_app_host = true
|
|
|
|
|
unit_tests.dependency 'OCMock'
|
2020-01-06 07:11:40 -08:00
|
|
|
unit_tests.resources = 'FirebaseCore/Tests/Unit/Resources/GoogleService-Info.plist'
|
2019-05-06 13:54:34 -07:00
|
|
|
end
|
2019-12-06 15:45:52 -05:00
|
|
|
|
|
|
|
|
s.test_spec 'swift-unit' do |swift_unit_tests|
|
2020-02-19 14:52:37 -05:00
|
|
|
swift_unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
|
2020-09-28 14:08:16 -07:00
|
|
|
swift_unit_tests.source_files = [
|
|
|
|
|
'FirebaseCore/Tests/SwiftUnit/**/*.swift',
|
|
|
|
|
'FirebaseCore/Tests/SwiftUnit/**/*.h',
|
|
|
|
|
'FirebaseCore/Tests/SwiftUnit/SwiftTestingUtilities/*',
|
|
|
|
|
'SharedTestUtilities/FIROptionsMock.[mh]',
|
|
|
|
|
]
|
2019-12-06 15:45:52 -05:00
|
|
|
swift_unit_tests.pod_target_xcconfig = {
|
2020-07-06 09:29:20 -07:00
|
|
|
'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/FirebaseCore/Tests/SwiftUnit/FirebaseCore-unit-Bridging-Header.h'
|
2019-12-06 15:45:52 -05:00
|
|
|
}
|
2020-09-28 14:08:16 -07:00
|
|
|
swift_unit_tests.dependency 'OCMock'
|
|
|
|
|
swift_unit_tests.resources = 'FirebaseCore/Tests/Unit/Resources/GoogleService-Info.plist'
|
2019-12-06 15:45:52 -05:00
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|