Skip to content

feat!: bump iOS SDK to version 12.0.0 #17549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ import PackageDescription

// auto-generated by melos post commit hook script
let firebase_core_version: String = "3.15.2"
let firebase_ios_sdk_version: String = "11.15.0"
let firebase_ios_sdk_version: String = "12.0.0"

// Shared Swift package manager code for firebase core
let package = Package(
name: "remote_firebase_core",
platforms: [
.iOS("13.0"),
.iOS("15.0"),
.macOS("10.15"),
],
products: [
Expand Down
5 changes: 3 additions & 2 deletions packages/cloud_firestore/cloud_firestore/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
platform :ios, '15.0'

require 'yaml'

Expand Down Expand Up @@ -51,7 +51,8 @@ target 'Runner' do
end
end

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => "#{firebase_sdk_version}"
# TODO: Uncomment this when the binary distribution is working again
# pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => "#{firebase_sdk_version}"
end

post_install do |installer|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -450,7 +450,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -499,7 +499,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
Expand All @@ -61,11 +62,13 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ target 'Runner' do
end
end

pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => "#{firebase_sdk_version}"
# TODO: Uncomment this when the binary distribution is working again
# pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => "#{firebase_sdk_version}"
end

post_install do |installer|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.public_header_files = 'cloud_firestore/Sources/cloud_firestore/include/Public/**/*.h'
s.private_header_files = 'cloud_firestore/Sources/cloud_firestore/include/Private/**/*.h'

s.ios.deployment_target = '13.0'
s.ios.deployment_target = '15.0'
s.dependency 'Flutter'

s.dependency 'firebase_core'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ guard let shared_spm_version = Version("\(firebase_core_version_string)\(shared_
let package = Package(
name: "cloud_firestore",
platforms: [
.iOS("13.0"),
.iOS("15.0"),
],
products: [
.library(name: "cloud-firestore", targets: ["cloud_firestore"]),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.15.0
12.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Pod::Spec.new do |s|
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'

s.ios.deployment_target = '13.0'
s.ios.deployment_target = '15.0'
end

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -427,7 +427,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Pod::Spec.new do |s|
s.authors = 'The Chromium Authors'
s.source = { :path => '.' }
s.source_files = 'cloud_functions/Sources/**/*.swift'
s.ios.deployment_target = '13.0'
s.ios.deployment_target = '15.0'

s.swift_version = '5.0'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ guard let shared_spm_version = Version("\(firebase_core_version_string)\(shared_
let package = Package(
name: "cloud_functions",
platforms: [
.iOS("13.0"),
.iOS("15.0"),
],
products: [
.library(name: "cloud-functions", targets: ["cloud_functions"]),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.15.0
12.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Stub/fake cloud_functions_web plugin
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.platform = :ios, '8.0'
s.platform = :ios, '15.0'

# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_ai/firebase_ai/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '13.0'
# platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -596,7 +596,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -647,7 +647,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -385,7 +385,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ require 'yaml'

pubspec = YAML.load_file(File.join('..', 'pubspec.yaml'))
library_version = pubspec['version'].gsub('+', '-')
firebase_analytics = 'Firebase/Analytics'
firebase_analytics = 'FirebaseAnalytics'

if defined?($FirebaseAnalyticsWithoutAdIdSupport)
firebase_analytics = 'Firebase/AnalyticsWithoutAdIdSupport'
firebase_analytics = 'FirebaseAnalytics/Core'
end

if defined?($FirebaseSDKVersion)
Expand All @@ -32,7 +32,7 @@ Pod::Spec.new do |s|

s.source_files = 'firebase_analytics/Sources/firebase_analytics/**/*.swift'

s.ios.deployment_target = '13.0'
s.ios.deployment_target = '15.0'
s.dependency 'Flutter'

s.swift_version = '5.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ guard let shared_spm_version = Version("\(firebase_core_version_string)\(shared_
let package = Package(
name: "firebase_analytics",
platforms: [
.iOS("13.0"),
.iOS("15.0"),
],
products: [
.library(name: "firebase-analytics", targets: ["firebase_analytics"]),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.15.0
12.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
}

/// Initiates on-device conversion measurement given a user email address.
/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
/// Requires Firebase iOS SDK 12.0.0+ with FirebaseAnalytics dependency, otherwise it is a no-op.
///
/// Only available on iOS.
Future<void> initiateOnDeviceConversionMeasurementWithEmailAddress(
Expand All @@ -1284,7 +1284,7 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
}

/// Initiates on-device conversion measurement given a user phone number in E.164 format.
/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
/// Requires Firebase iOS SDK 12.0.0+ with FirebaseAnalytics dependency, otherwise it is a no-op.
///
/// Only available on iOS.
Future<void> initiateOnDeviceConversionMeasurementWithPhoneNumber(
Expand All @@ -1301,7 +1301,7 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
}

/// Initiates on-device conversion measurement given a sha256-hashed, UTF8 encoded, user email address.
/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
/// Requires Firebase iOS SDK 12.0.0+ with FirebaseAnalytics dependency, otherwise it is a no-op.
///
/// Only available on iOS.
Future<void> initiateOnDeviceConversionMeasurementWithHashedEmailAddress(
Expand All @@ -1318,7 +1318,7 @@ class FirebaseAnalytics extends FirebasePluginPlatform {
}

/// Initiates on-device conversion measurement given a sha256-hashed, UTF8 encoded, phone number in E.164 format.
/// Requires dependency GoogleAppMeasurementOnDeviceConversion to be linked in, otherwise it is a no-op.
/// Requires Firebase iOS SDK 12.0.0+ with FirebaseAnalytics dependency, otherwise it is a no-op.
///
/// Only available on iOS.
Future<void> initiateOnDeviceConversionMeasurementWithHashedPhoneNumber(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ require 'yaml'

pubspec = YAML.load_file(File.join('..', 'pubspec.yaml'))
library_version = pubspec['version'].gsub('+', '-')
firebase_analytics = 'Firebase/Analytics'
firebase_analytics = 'FirebaseAnalytics'

if defined?($FirebaseAnalyticsWithoutAdIdSupport)
firebase_analytics = 'Firebase/AnalyticsWithoutAdIdSupport'
firebase_analytics = 'FirebaseAnalytics/Core'
end

if defined?($FirebaseSDKVersion)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -407,7 +407,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -457,7 +457,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'firebase_app_check/Sources/firebase_app_check/**/*.{h,m}'
s.public_header_files = 'firebase_app_check/Sources/firebase_app_check/include/*.h'
s.ios.deployment_target = '13.0'
s.ios.deployment_target = '15.0'

# Flutter dependencies
s.dependency 'Flutter'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ guard let shared_spm_version = Version("\(firebase_core_version_string)\(shared_
let package = Package(
name: "firebase_app_check",
platforms: [
.iOS("13.0"),
.iOS("15.0"),
],
products: [
.library(name: "firebase-app-check", targets: ["firebase_app_check"]),
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.15.0
12.0.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
platform :ios, '15.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
Loading
Loading