Skip to content

Commit

Permalink
Keep FirebaseCore, FirebaseCoreExtension and FirebaseCoreInternal pod…
Browse files Browse the repository at this point in the history
… versions aligned to latest (#13953)
  • Loading branch information
paulb777 authored Oct 23, 2024
1 parent 66f44fc commit 36da449
Show file tree
Hide file tree
Showing 24 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion FirebaseABTesting.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Firebase Cloud Messaging and Firebase Remote Config in your app.
'GCC_C_LANGUAGE_STANDARD' => 'c99',
'HEADER_SEARCH_PATHS' => '"${PODS_TARGET_SRCROOT}"'
}
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'

s.test_spec 'unit' do |unit_tests|
unit_tests.scheme = { :code_coverage => true }
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAnalytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Pod::Spec.new do |s|
s.libraries = 'c++', 'sqlite3', 'z'
s.frameworks = 'StoreKit'

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 8.0'
s.dependency 'GoogleUtilities/MethodSwizzler', '~> 8.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppCheck.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Pod::Spec.new do |s|

s.dependency 'AppCheckCore', '~> 11.0'
s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseAppDistribution.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ iOS SDK for App Distribution for Firebase.
]
s.public_header_files = base_dir + 'Public/FirebaseAppDistribution/*.h'

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 8.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.0'
s.dependency 'FirebaseInstallations', '~> 11.0'
Expand Down
4 changes: 2 additions & 2 deletions FirebaseAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ supports email and password accounts, as well as several 3rd party authenticatio
s.ios.framework = 'SafariServices'
s.dependency 'FirebaseAuthInterop', '~> 11.0'
s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 8.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GTMSessionFetcher/Core', '>= 3.4', '< 5.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseCombineSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for internal testing only. It should not be published.
s.osx.framework = 'AppKit'
s.tvos.framework = 'UIKit'

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseAuth', '~> 11.0'
s.dependency 'FirebaseFunctions', '~> 11.0'
s.dependency 'FirebaseFirestore', '~> 11.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
# Remember to also update version in `cmake/external/GoogleUtilities.cmake`
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GoogleUtilities/Logger', '~> 8.0'
s.dependency 'FirebaseCoreInternal', '~> 11.0'
s.dependency 'FirebaseCoreInternal', '11.5'

s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
Expand Down
2 changes: 1 addition & 1 deletion FirebaseCoreExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ Pod::Spec.new do |s|
"#{s.module_name}_Privacy" => 'FirebaseCore/Extension/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
end
2 changes: 1 addition & 1 deletion FirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Pod::Spec.new do |s|
cp -f ./Crashlytics/CrashlyticsInputFiles.xcfilelist ./CrashlyticsInputFiles.xcfilelist
PREPARE_COMMAND_END

s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'FirebaseSessions', '~> 11.0'
s.dependency 'FirebaseRemoteConfigInterop', '~> 11.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDatabase.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Simplify your iOS development, grow your user base, and monetize more effectivel
s.macos.frameworks = 'CFNetwork', 'Security', 'SystemConfiguration'
s.watchos.frameworks = 'CFNetwork', 'Security', 'WatchKit'
s.dependency 'leveldb-library', '~> 1.22'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseSharedSwift', '~> 11.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseDynamicLinks.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Firebase Dynamic Links are deep links that enhance user experience and increase
}
s.frameworks = 'QuartzCore'
s.weak_framework = 'WebKit'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'

s.pod_target_xcconfig = {
'GCC_C_LANGUAGE_STANDARD' => 'c99',
Expand Down
4 changes: 2 additions & 2 deletions FirebaseFirestore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
"#{s.module_name}_Privacy" => 'Firestore/Swift/Source/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'FirebaseFirestoreInternal', '11.5.0'
s.dependency 'FirebaseSharedSwift', '~> 11.0'

Expand Down
2 changes: 1 addition & 1 deletion FirebaseFirestoreInternal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
}

s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'

abseil_version = '~> 1.20240116.1'
s.dependency 'abseil/algorithm', abseil_version
Expand Down
4 changes: 2 additions & 2 deletions FirebaseFunctions.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Cloud Functions for Firebase.
'FirebaseFunctions/Sources/**/*.swift',
]

s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseAuthInterop', '~> 11.0'
s.dependency 'FirebaseMessagingInterop', '~> 11.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInAppMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin

s.framework = 'UIKit'

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'FirebaseABTesting', '~> 11.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseInstallations.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Pod::Spec.new do |s|
}

s.framework = 'Security'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'PromisesObjC', '~> 2.4'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.0'
Expand Down
4 changes: 2 additions & 2 deletions FirebaseMLModelDownloader.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Pod::Spec.new do |s|
]

s.framework = 'Foundation'
s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'GoogleDataTransport', '~> 10.0'
s.dependency 'GoogleUtilities/UserDefaults', '~> 8.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ device, and it is completely free.
s.osx.framework = 'SystemConfiguration'
s.weak_framework = 'UserNotifications'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 8.0'
s.dependency 'GoogleUtilities/Reachability', '~> 8.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebasePerformance.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Firebase Performance library to measure performance of Mobile and Web Apps.
s.ios.framework = 'CoreTelephony'
s.framework = 'QuartzCore'
s.framework = 'SystemConfiguration'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'FirebaseRemoteConfig', '~> 11.0'
s.dependency 'FirebaseSessions', '~> 11.0'
Expand Down
2 changes: 1 addition & 1 deletion FirebaseRemoteConfig.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ app update.
}
s.dependency 'FirebaseABTesting', '~> 11.0'
s.dependency 'FirebaseSharedSwift', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GoogleUtilities/NSData+zlib', '~> 8.0'
Expand Down
4 changes: 2 additions & 2 deletions FirebaseSessions.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Pod::Spec.new do |s|
base_dir + 'SourcesObjC/**/*.{c,h,m,mm}',
]

s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'FirebaseInstallations', '~> 11.0'
s.dependency 'GoogleDataTransport', '~> 10.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
Expand Down
4 changes: 2 additions & 2 deletions FirebaseStorage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ Firebase Storage provides robust, secure file uploads and downloads from Firebas

s.dependency 'FirebaseAppCheckInterop', '~> 11.0'
s.dependency 'FirebaseAuthInterop', '~> 11.0'
s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'
s.dependency 'GTMSessionFetcher/Core', '>= 3.4', '< 5.0'
s.dependency 'GoogleUtilities/Environment', '~> 8.0'

Expand Down
4 changes: 2 additions & 2 deletions FirebaseVertexAI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Firebase SDK.

s.dependency 'FirebaseAppCheckInterop', '~> 11.4'
s.dependency 'FirebaseAuthInterop', '~> 11.4'
s.dependency 'FirebaseCore', '~> 11.4'
s.dependency 'FirebaseCoreExtension', '~> 11.4'
s.dependency 'FirebaseCore', '11.5'
s.dependency 'FirebaseCoreExtension', '11.5'

s.test_spec 'unit' do |unit_tests|
unit_tests_dir = 'FirebaseVertexAI/Tests/Unit/'
Expand Down
12 changes: 7 additions & 5 deletions ReleaseTooling/Sources/FirebaseReleaser/InitializeRelease.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ enum InitializeRelease {
} else {
updatePodspecVersion(pod: pod, version: version, path: path)

// Pods depending on GoogleAppMeasurement and FirebaseFirestoreInternal specs
// should pin the dependency to the new version.
if pod.name.hasPrefix("GoogleAppMeasurement") || pod.name == "FirebaseFirestoreInternal" {
// Pods dependencies to update to latest.
if pod.name.hasPrefix("GoogleAppMeasurement") ||
pod.name == "FirebaseCore" ||
pod.name == "FirebaseCoreExtension" ||
pod.name == "FirebaseCoreInternal" ||
pod.name == "FirebaseFirestoreInternal" {
updateDependenciesToLatest(
dependency: pod.name,
pods: manifest.pods,
Expand Down Expand Up @@ -82,8 +85,7 @@ enum InitializeRelease {
Shell.executeCommand(command, workingDir: path)
}

/// Pods depending on GoogleAppMeasurement and FirebaseFirestoreInternal specs
/// should pin the dependency to the new version.
/// Update dependencies that we want pinned to the latest version.
private static func updateDependenciesToLatest(dependency: String,
pods: [Pod],
version: String,
Expand Down

0 comments on commit 36da449

Please sign in to comment.