Skip to content

fix: update CocoaPods dependency constraints in podspec files to allow minor updates - #1006

Merged
robingenz merged 1 commit into
mainfrom
fix/issue-1005-podspec-version-constraints
Jul 29, 2026
Merged

fix: update CocoaPods dependency constraints in podspec files to allow minor updates#1006
robingenz merged 1 commit into
mainfrom
fix/issue-1005-podspec-version-constraints

Conversation

@robingenz

Copy link
Copy Markdown
Member

The podspec files restricted the Firebase dependencies to ~> 12.7.0, which in CocoaPods only permits patch updates (>= 12.7.0, < 12.8.0). As a result, consumers were unable to install newer Firebase releases such as 12.17.0 without waiting for a new plugin release.

This was inconsistent with the rest of the project:

File Constraint Resolves to
*.podspec ~> 12.7.0 >= 12.7.0, < 12.8.0 (patch only)
Package.swift .upToNextMajor(from: "12.7.0") >= 12.7.0, < 13.0.0
ios/Podfile ~> 12.7 >= 12.7, < 13.0

#910 already relaxed these constraints, but only for the Podfile files. The podspec files were missed and are corrected here.

Changes

  • Relax the Firebase constraints in all 11 podspec files from ~> 12.7.0 to ~> 12.7, so minor updates are allowed.
  • Relax the exact pins in CapacitorFirebaseAuthentication.podspec (GoogleSignIn 9.0.0 to ~> 9.0, FBSDKCoreKit and FBSDKLoginKit 18.0.0 to ~> 18.0) to match the ranges already used in Package.swift.
  • Update GoogleSignIn in packages/authentication/ios/Podfile from ~> 7.1 to ~> 9.0. It was two major versions behind the podspec and Package.swift, which both already required 9.0.0.

The Firebase version itself is intentionally not bumped. Relaxing the constraint is enough to let consumers install 12.17.0.

Testing

npm run verify:ios passes for packages/authentication, with GoogleSignIn resolving to 9.2.0.

Close #1005

Copilot AI review requested due to automatic review settings July 29, 2026 08:16
@robingenz robingenz added bug/fix Something isn't working dependencies platform: ios iOS platform labels Jul 29, 2026
@robingenz robingenz self-assigned this Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aligns the iOS CocoaPods dependency constraints across the project by relaxing Firebase (and related) version requirements in podspecs so consumers can install newer minor versions without waiting for a plugin release.

Changes:

  • Relax Firebase podspec constraints from ~> 12.7.0 (patch-only) to ~> 12.7 (allows minor updates up to < 13.0).
  • Relax GoogleSignIn / Facebook SDK pins in CapacitorFirebaseAuthentication.podspec from exact versions to ~> ranges to match SwiftPM intent.
  • Update GoogleSignIn in packages/authentication/ios/Podfile to ~> 9.0 for consistency with the authentication podspec/SwiftPM.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/storage/CapacitorFirebaseStorage.podspec Relax FirebaseStorage constraint to allow minor updates.
packages/remote-config/CapacitorFirebaseRemoteConfig.podspec Relax FirebaseRemoteConfig constraint to allow minor updates.
packages/performance/CapacitorFirebasePerformance.podspec Relax FirebasePerformance constraint to allow minor updates.
packages/messaging/CapacitorFirebaseMessaging.podspec Relax FirebaseMessaging constraint to allow minor updates.
packages/functions/CapacitorFirebaseFunctions.podspec Relax FirebaseFunctions constraint to allow minor updates.
packages/firestore/CapacitorFirebaseFirestore.podspec Relax FirebaseFirestore constraint to allow minor updates.
packages/crashlytics/CapacitorFirebaseCrashlytics.podspec Relax FirebaseCrashlytics constraint to allow minor updates.
packages/authentication/CapacitorFirebaseAuthentication.podspec Relax FirebaseAuth and third-party SDK pins (GoogleSignIn, FBSDK*) to allow minor updates.
packages/app/CapacitorFirebaseApp.podspec Relax FirebaseCore constraint to allow minor updates.
packages/app-check/CapacitorFirebaseAppCheck.podspec Relax FirebaseAppCheck constraint to allow minor updates.
packages/analytics/CapacitorFirebaseAnalytics.podspec Relax Firebase Analytics subspec constraints to allow minor updates.
packages/authentication/ios/Podfile Bump GoogleSignIn pod constraint to ~> 9.0 for alignment with podspec/SwiftPM.
.changeset/quiet-jokes-attack.md Add changeset to publish patch releases for affected packages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pkg-pr-new

pkg-pr-new Bot commented Jul 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

@capacitor-firebase/analytics

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/analytics@1006

@capacitor-firebase/app

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/app@1006

@capacitor-firebase/app-check

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/app-check@1006

@capacitor-firebase/authentication

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/authentication@1006

@capacitor-firebase/crashlytics

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/crashlytics@1006

@capacitor-firebase/firestore

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/firestore@1006

@capacitor-firebase/functions

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/functions@1006

@capacitor-firebase/messaging

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/messaging@1006

@capacitor-firebase/performance

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/performance@1006

@capacitor-firebase/remote-config

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/remote-config@1006

@capacitor-firebase/storage

npm i https://pkg.pr.new/capawesome-team/capacitor-firebase/@capacitor-firebase/storage@1006

commit: 4d4b116

@robingenz
robingenz merged commit 3e70b65 into main Jul 29, 2026
7 checks passed
@robingenz
robingenz deleted the fix/issue-1005-podspec-version-constraints branch July 29, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug/fix Something isn't working dependencies platform: ios iOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Update Firebase Analytics to 12.17.0

2 participants