2017-11-21 17:02:22 -08:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'FirebaseCore'
|
2019-12-17 11:36:36 -08:00
|
|
|
s.version = '6.5.0'
|
2018-04-19 16:26:46 -07:00
|
|
|
s.summary = 'Firebase Core for iOS (plus community support for macOS and tvOS)'
|
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'
|
2018-04-17 07:02:01 -07:00
|
|
|
s.ios.deployment_target = '8.0'
|
2019-03-29 16:26:27 -07:00
|
|
|
s.osx.deployment_target = '10.11'
|
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.static_framework = true
|
|
|
|
|
s.prefix_header_file = false
|
|
|
|
|
|
|
|
|
|
s.source_files = 'Firebase/Core/**/*.[mh]'
|
|
|
|
|
s.public_header_files = 'Firebase/Core/Public/*.h', 'Firebase/Core/Private/*.h'
|
2018-07-06 09:37:23 -07:00
|
|
|
s.private_header_files = 'Firebase/Core/Private/*.h'
|
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'
|
2019-11-14 15:22:20 -05:00
|
|
|
s.dependency 'GoogleUtilities/Environment', '~> 6.4'
|
|
|
|
|
s.dependency 'GoogleUtilities/Logger', '~> 6.4'
|
2019-08-07 11:03:41 -07:00
|
|
|
s.dependency 'FirebaseCoreDiagnosticsInterop', '~> 1.0'
|
|
|
|
|
s.dependency 'FirebaseCoreDiagnostics', '~> 1.0'
|
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' =>
|
2019-12-17 11:36:36 -08:00
|
|
|
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=6.14.0',
|
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'}
|
2019-05-06 13:54:34 -07:00
|
|
|
unit_tests.source_files = 'Example/Core/Tests/**/*.[mh]'
|
|
|
|
|
unit_tests.requires_app_host = true
|
|
|
|
|
unit_tests.dependency 'OCMock'
|
|
|
|
|
unit_tests.resources = 'Example/Core/App/GoogleService-Info.plist'
|
|
|
|
|
end
|
2019-12-06 15:45:52 -05:00
|
|
|
|
|
|
|
|
s.test_spec 'swift-unit' do |swift_unit_tests|
|
|
|
|
|
swift_unit_tests.source_files = 'Example/Core/Tests/Swift/**/*.swift',
|
|
|
|
|
'Example/Core/Tests/Swift/**/*.h'
|
|
|
|
|
swift_unit_tests.pod_target_xcconfig = {
|
|
|
|
|
'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/Example/Core/Tests/Swift/FirebaseCore-iOS-Unit-swift-unit-Bridging-Header.h'
|
|
|
|
|
}
|
|
|
|
|
end
|
2017-11-21 17:02:22 -08:00
|
|
|
end
|