mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Update versions for Release 6.21.0
* Libraries should save state if a completion block is requested (#5147) (#5148)
* Libraries should save state if a completion block is requested
Currently, the onComplete block of sendXEvent:onComplete: is invoked when the event bytes are written to disk. However, if the app crashes before a lifecycle event occurs (trigger GDTCORStorage to serialize to disk), that event if effectively lost because the metadata has all been lost. This change triggers the saving of state of GDTCORStorage and prioritizers (if they implement it) if an onComplete block has been given.
* Remove RC from M67 (#5157)
* Revert "Migrate from using IID SDK for Remote Config to the new FIS SDK (#5096)" (#5156) (#5159)
This reverts commit 887ff82494.
* Only delete events when package was successfully delivered (#5172) (#5173)
* Only delete events when package was successfully delivered
* Add unit test to check that retrying a package delivery doesn't delete an event file
Co-authored-by: Michael Haney <mikehaney24@users.noreply.github.com>
Co-authored-by: Maksym Malyhin <mmaksym@google.com>
64 lines
2.5 KiB
Ruby
64 lines
2.5 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'FirebaseCore'
|
|
s.version = '6.6.5'
|
|
s.summary = 'Firebase Core for iOS (plus community support for macOS and tvOS)'
|
|
|
|
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',
|
|
:tag => 'Core-' + s.version.to_s
|
|
}
|
|
s.social_media_url = 'https://twitter.com/Firebase'
|
|
s.ios.deployment_target = '8.0'
|
|
s.osx.deployment_target = '10.11'
|
|
s.tvos.deployment_target = '10.0'
|
|
s.watchos.deployment_target = '6.0'
|
|
|
|
s.cocoapods_version = '>= 1.4.0'
|
|
s.static_framework = true
|
|
s.prefix_header_file = false
|
|
|
|
s.source_files = 'FirebaseCore/Sources/**/*.[mh]'
|
|
s.public_header_files = 'FirebaseCore/Sources/Public/*.h', 'FirebaseCore/Sources/Private/*.h'
|
|
s.private_header_files = 'FirebaseCore/Sources/Private/*.h'
|
|
s.framework = 'Foundation'
|
|
s.ios.framework = 'UIKit'
|
|
s.osx.framework = 'AppKit'
|
|
s.tvos.framework = 'UIKit'
|
|
s.dependency 'GoogleUtilities/Environment', '~> 6.5'
|
|
s.dependency 'GoogleUtilities/Logger', '~> 6.5'
|
|
s.dependency 'FirebaseCoreDiagnosticsInterop', '~> 1.2'
|
|
s.dependency 'FirebaseCoreDiagnostics', '~> 1.2'
|
|
|
|
s.pod_target_xcconfig = {
|
|
'GCC_C_LANGUAGE_STANDARD' => 'c99',
|
|
'GCC_PREPROCESSOR_DEFINITIONS' =>
|
|
'FIRCore_VERSION=' + s.version.to_s + ' Firebase_VERSION=6.21.0',
|
|
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"',
|
|
'OTHER_CFLAGS' => '-fno-autolink'
|
|
}
|
|
s.test_spec 'unit' do |unit_tests|
|
|
unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
|
|
unit_tests.source_files = 'FirebaseCore/Tests/Unit/**/*.[mh]'
|
|
unit_tests.requires_app_host = true
|
|
unit_tests.dependency 'OCMock'
|
|
unit_tests.resources = 'FirebaseCore/Tests/Unit/Resources/GoogleService-Info.plist'
|
|
end
|
|
|
|
s.test_spec 'swift-unit' do |swift_unit_tests|
|
|
swift_unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
|
|
swift_unit_tests.source_files = 'FirebaseCore/Tests/Unit/Swift/**/*.swift',
|
|
'FirebaseCore/Tests/Unit/Swift/**/*.h'
|
|
swift_unit_tests.pod_target_xcconfig = {
|
|
'SWIFT_OBJC_BRIDGING_HEADER' => '$(PODS_TARGET_SRCROOT)/FirebaseCore/Tests/Unit/Swift/FirebaseCore-unit-Bridging-Header.h'
|
|
}
|
|
end
|
|
end
|