Skip to content

Commit

Permalink
feat!: Firebase iOS SDK version: 10.0.0 (#9708)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Hardy <github@mikehardy.net>
  • Loading branch information
russellwheatley and mikehardy committed Oct 18, 2022
1 parent 7ae5cd3 commit 9627c56
Show file tree
Hide file tree
Showing 41 changed files with 146 additions and 178 deletions.
Expand Up @@ -24,17 +24,20 @@ Pod::Spec.new do |s|
s.license = { :file => '../LICENSE' }
s.authors = 'The Chromium Authors'
s.source = { :path => '.' }

s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/Public/*.h'
s.private_header_files = 'Classes/Private/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.dependency 'Flutter'

s.dependency 'firebase_core'
s.dependency 'Firebase/Firestore', firebase_sdk_version

# required until firestore-ios-sdk-frameworks is updated, otherwise users of that distribution will have compile failures
# see https://github.com/invertase/firestore-ios-sdk-frameworks/issues/59
s.dependency 'nanopb', '>= 2.30908.0', '< 2.30910.0'

s.static_framework = true
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-fst\\\"",
Expand Down
Expand Up @@ -47,7 +47,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/Public/*.h'
s.private_header_files = 'Classes/Private/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand All @@ -56,6 +56,9 @@ Pod::Spec.new do |s|
s.dependency 'firebase_core'
s.dependency 'Firebase/CoreOnly', "~> #{firebase_sdk_version}"
s.dependency 'Firebase/Firestore', "~> #{firebase_sdk_version}"
# required until firestore-ios-sdk-frameworks is updated, otherwise users of that distribution will have compile failures
# see https://github.com/invertase/firestore-ios-sdk-frameworks/issues/59
s.dependency 'nanopb', '>= 2.30908.0', '< 2.30910.0'

s.static_framework = true
s.pod_target_xcconfig = {
Expand Down
Expand Up @@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
end

Expand Up @@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'

# Flutter dependencies
s.dependency 'Flutter'
Expand Down
Expand Up @@ -15,7 +15,7 @@ else
end

begin
required_macos_version = "10.12"
required_macos_version = "10.13"
current_target_definition = Pod::Config.instance.podfile.send(:current_target_definition)
user_osx_target = current_target_definition.to_hash["platform"]["osx"]
if (Gem::Version.new(user_osx_target) < Gem::Version.new(required_macos_version))
Expand Down Expand Up @@ -43,7 +43,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'
s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -34,7 +34,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/Public/*.h'
s.private_header_files = 'Classes/Private/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.dependency 'Flutter'

s.dependency 'firebase_core'
Expand Down
Expand Up @@ -21,7 +21,7 @@ else
end

begin
required_macos_version = "10.12"
required_macos_version = "10.13"
current_target_definition = Pod::Config.instance.podfile.send(:current_target_definition)
user_osx_target = current_target_definition.to_hash["platform"]["osx"]
if (Gem::Version.new(user_osx_target) < Gem::Version.new(required_macos_version))
Expand Down Expand Up @@ -50,7 +50,7 @@ Pod::Spec.new do |s|

s.source_files = 'Classes/**/*.{h,m}'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down

This file was deleted.

Expand Up @@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'
s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.0'

# Flutter dependencies
s.dependency 'Flutter'
Expand Down
Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -26,15 +26,15 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.ios.deployment_target = '10.0'

s.ios.deployment_target = '11.0'

s.swift_version = '5.5'

s.dependency 'Flutter'
s.dependency 'firebase_core'
s.dependency 'Firebase/Installations', firebase_sdk_version

s.static_framework = true
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-installations\\\"",
Expand Down
Expand Up @@ -44,7 +44,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -24,18 +24,18 @@ Pod::Spec.new do |s|
s.license = { :file => '../LICENSE' }
s.authors = 'The Chromium Authors'
s.source = { :path => '.' }

s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.dependency 'Flutter'

s.dependency 'firebase_core'
s.dependency 'Firebase/Auth', firebase_sdk_version

s.static_framework = true
s.pod_target_xcconfig = {
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-auth\\\"",
'DEFINES_MODULE' => 'YES'
}
Expand Down
Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down

This file was deleted.

Expand Up @@ -27,7 +27,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'

s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.0'

# Flutter dependencies
s.dependency 'Flutter'
Expand Down
@@ -1,4 +1,4 @@
# https://firebase.google.com/support/release-notes/ios
def firebase_sdk_version!()
'9.6.0'
'10.0.0'
end
Expand Up @@ -44,7 +44,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down

This file was deleted.

Expand Up @@ -34,7 +34,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'

s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.0'

s.dependency 'Flutter'
s.dependency 'firebase_core'
Expand Down
Expand Up @@ -56,7 +56,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -24,16 +24,16 @@ Pod::Spec.new do |s|
s.license = { :file => '../LICENSE' }
s.authors = 'The Chromium Authors'
s.source = { :path => '.' }

s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.dependency 'Flutter'

s.dependency 'firebase_core'
s.dependency 'Firebase/Database', firebase_sdk_version

s.static_framework = true
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-rtdb\\\"",
Expand Down
Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -27,7 +27,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.static_framework = true
s.dependency 'firebase_core'
s.dependency 'Firebase/DynamicLinks', firebase_sdk_version
Expand Down
Expand Up @@ -31,7 +31,7 @@ Pod::Spec.new do |s|
s.dependency 'Firebase/InAppMessaging', firebase_sdk_version
s.static_framework = true

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'

s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-fiam\\\"",
Expand Down
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'

s.dependency 'Flutter'

Expand Down
Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*.{h,m}'
s.public_header_files = 'Classes/**/*.h'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'

s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'


s.dependency 'Flutter'
Expand Down
Expand Up @@ -44,7 +44,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'

s.platform = :osx, '10.12'
s.platform = :osx, '10.13'

# Flutter dependencies
s.dependency 'FlutterMacOS'
Expand Down
Expand Up @@ -32,10 +32,10 @@ Pod::Spec.new do |s|
s.dependency 'Flutter'
s.dependency 'firebase_core'
s.dependency 'Firebase/Performance', firebase_sdk_version
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.static_framework = true

s.pod_target_xcconfig = {
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => "LIBRARY_VERSION=\\@\\\"#{library_version}\\\" LIBRARY_NAME=\\@\\\"flutter-fire-perf\\\"",
'DEFINES_MODULE' => 'YES'
}
Expand Down

0 comments on commit 9627c56

Please sign in to comment.