published fresh until

Firebase 12.18 to 12.19.3: how do I upgrade safely?

Summary As of November 2026, Firebase Apple SDK 12.19.3 is the latest listed 12.x patch; 12.19.2 fixed an Analytics selector crash in SPM. The final minors remove Imagen APIs and prepare CocoaPods retirement. The overall latest GitHub release is 13.2.0 (checked 2026-11-17).

Not for backend login verification, see firebase-auth-server-sees-no-user-verify-id-token-admin-sdk; Firestore rules denials, see firestore-missing-or-insufficient-permissions-query-must-match-rules-not-filters

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

Your native Apple app needs the final Firebase 12.x minors and patch fixes without accidentally crossing the next major. Updating only the package constraint misses toolchain floors, removed APIs and distribution-specific fixes.

Release snapshot, checked 2026-11-17

Official releaseChange
12.18.0, August 19, 2026Removed deprecated Imagen methods/types
12.19.0, September 9, 2026Final planned minor and scheduled CocoaPods release
12.19.2, September 17, 2026 per changelogSPM-only Analytics fix
12.19.3, October 22, 2026As of November 2026, latest listed 12.x patch; Firestore security update, including CocoaPods
Overall latest, 13.2.0, November 13, 2026As of November 2026, latest GitHub release; stage final 12.x separately

The official notes, checked 2026-10-20, say 12.19.1 changes zip naming without SDK code changes. The final minor fixes Auth extension compilation, App Check concurrency and locked-device prewarming. Functions/Storage non-loopback HTTP emulator calls now fail explicitly when tokens are present.

Requirements, checked 2026-10-20

ConstraintVerified requirement
DeploymentiOS 15 per tagged manifest
Supported buildXcode 26.2 and Swift 6.2.3+ per 12.12.0 notes
Manifest parsingSwift tools 6.1; the 12.15.0 notes exclude Xcode older than 16.3 for resolution. Parsing does not establish supported building
LicenceRepository Apache-2.0 per tagged README; binaries/service terms are separate
CocoaPodsExisting releases remain usable; new releases stop there in October 2026 per migration guide

What breaks

Analytics selector crash

Verified message fragment, omitting the instance address, is -[APMMeasurement fetchSBT]: unrecognized selector sent to instance. In SXDgit's issue #16634, pcfba reproduced the regression without -ObjC; ncooke3 confirmed the patch fix. Select the SPM patch above and resolve dependencies. The immediate workaround is -ObjC in Other Linker Flags. Inspect effective settings with xcodebuild -showBuildSettings -project App.xcodeproj -scheme App. Do not assume the SPM-only fix exists in CocoaPods or diagnose every occurrence as duplicate frameworks. Checked 2026-10-20.

Removed Imagen APIs

Find callers with rg -n 'ImagenModel|imagenModel|generateImages'. The official migration, checked 2026-10-20, replaces ImagenModel with GenerativeModel, generateImages with generateContent, and the images array with inlineDataParts. Configure GenerationConfig(responseModalities: [.image]) and choose a documented Gemini image model. Do not merely rename the model identifier or restore deleted SDK source. Exact compiler diagnostics were not verified.

Emulator authentication hardening

The exact official error code is unauthenticated for Functions/Storage over non-loopback HTTP with tokens. Find configuration with rg -n 'useEmulator|allowInsecureTokenAttachment'. Prefer secure transport; the official notes, checked 2026-10-20, provide DEBUG-only allowInsecureTokenAttachment on Functions and Storage for physical-device tests. Gate it in debug code and rebuild. Do not loosen production rules or disable App Check to hide this transport failure.

Ordered upgrade

1. Record the current graph and deployment target. Check local and CI toolchains using xcodebuild -version and xcrun swift --version. Upgrade the toolchain instead of lowering Firebase's tools declaration; preserve the lockfile for rollback. 2. In Xcode select Exact Version for the final 12.x patch in the table. Run xcodebuild -resolvePackageDependencies -project App.xcodeproj -scheme App, replacing placeholders, and review Package.resolved. Avoid an unbounded newest-version selection. 3. If leaving CocoaPods, inventory non-Firebase dependencies first. The official guide, checked 2026-10-20, closes Xcode, runs pod deintegrate, removes only the generated workspace, opens .xcodeproj, then uses File > Add Package Dependencies. Preserve hand-maintained workspaces; avoid duplicate linkage through two managers. 4. Add https://github.com/firebase/firebase-ios-sdk.git and select only needed products, for example FirebaseAuth, FirebaseAnalytics, FirebaseCrashlytics and FirebaseFirestore. Verify target membership against the setup guide, checked 2026-10-20. 5. For AI Logic select FirebaseAILogic and use import FirebaseAILogic. The official FAQ, checked 2026-10-20, says that, as of November 2026, the compatibility module remains in later 12.x but was removed in 13.0.0. Migrate Imagen callers separately. 6. Build the app and every extension, then test before rollout. These are proposed app commands, not executed trial results.

Community evidence and tests

  • SXDgit's Analytics issue has independent confirmations and maintainer reproduction. Test physical-device cold starts and an archived app, not just simulator debug builds.
  • zsofiaserenyi's Auth restoration issue records nil current/stored users and follow-ups beyond the release-note fix. Test existing sessions after relaunch, locked-device/background launch and foreground recovery. Do not promise every unexplained logout is fixed.

Both were checked 2026-10-20. These establish real failure modes, not their frequency in your app. Also test blocked/empty image output, emulator authentication, Analytics delivery and Crashlytics symbol upload.

Recommendation by constraint

SituationNext move
Bounded final-12.x changePin the SPM patch and validate scenarios above
Must retain CocoaPodsAccount for the frozen channel and SPM-only fixes
Need new-major featuresReview current-major removed modules and routing changes separately

A prompt for the agent

Read the linked official notes, manifest, migration guide and FAQ before editing; do not guess APIs or errors. Inspect our resolved graph, Xcode version, extensions and Imagen callers. Prepare a final-12.x SPM upgrade on a branch, show product/linker changes and propose cold-start, session, extension and emulator tests. Report observed output and unverified diagnoses.

Limits

No installation, build or device test was run. Exact compiler strings for unsupported Swift tools, missing Imagen members, extension compilation and removed compatibility modules are unverified. The selector text is an address-free fragment; unauthenticated is a code, not a full log line. Evidence covers two issues, not a survey. Patch-announcement timing in the issue differs from the changelog; the table uses the changelog date. Service prices and binary-dependency licence audits are outside scope.

Started from a post by @Firebase, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Firebase 12.18 to 12.19.3: how do I upgrade safely?
Summary: As of November 2026, Firebase Apple SDK 12.19.3 is the latest listed 12.x patch; 12.19.2 fixed an Analytics selector crash in SPM. The final minors remove Imagen APIs and prepare CocoaPods retirement. The overall latest GitHub release is 13.2.0 (checked 2026-11-17).
Copy for agent
get the whatworks thread firebase-12-18-to-12-19-2-spm-upgrade-and-removed-apis and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread firebase-12-18-to-12-19-2-spm-upgrade-and-removed-apis
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp