Conversation
New firebase-ios-sdk releases stop publishing to CocoaPods in October 2026, so Package.swift can no longer share the podspec pin.
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 馃憤 and 馃憥 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
Description
Splits the Firebase Apple SDK pin so Swift Package Manager no longer reads
firebase_sdk_version.rb.Both dependency managers currently share that Ruby pin, and
scripts/generate_versions_spm.dartcopies it into everyPackage.swift. Firebase stops publishing new Apple SDK versions to CocoaPods in October 2026, so the next bump of that file would breakpod install.scripts/firebase_sdk_version_spm.dartis the Swift Package Manager pin. It lives inscripts/, outside every plugin directory, so it is not part of a pub release. The generator writes the value intoPackage.swiftbefore publish. Podspecs keep usingpackages/firebase_core/firebase_core/ios/firebase_sdk_version.rb, including the$FirebaseSDKVersionPodfile override. Both pins stay at12.19.0.The next bill of materials records
iosfrom the CocoaPods pin andios_spmfrom the Swift Package Manager pin. This pull request does not regenerate the current bill of materials.Related Issues
None.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]).This will ensure a smooth and quick review process. Updating the
pubspec.yamland changelogs is not required.///).melos run analyze) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
Test plan
dart analyzeonscripts/firebase_sdk_version_spm.dart,scripts/generate_versions_spm.dart, andscripts/generate_bom.dart(only pre-existingunnecessary_raw_stringsinfos in the generator)dart run scripts/generate_versions_spm.dartleaves everyPackage.swifton12.19.0Validate Generated SPM Versionspasses