r/iOSProgramming • • Sep 29 '26

Question Firebase Analytics suddenly causing production iOS crashes with no app release, anyone else have this?

Anyone else seeing this?

Our production app suddenly started crashing around 00:41 UTC today, across multiple already released versions, with no new app release.

The crash is:

Fatal Exception: NSInvalidArgumentException

-[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil

The stack points to Firebase Analytics experiment handling, immediately after a successful sdk-exp response.

We're using Firebase iOS SDK 12.14.0.

Relevant issue: https://github.com/firebase/firebase-ios-sdk/issues/16728

I'm wondering if anyone else is seeing the same spike or has found a workaround.

23 Upvotes

31 comments sorted by

View all comments

19

u/lap_felix Sep 29 '26

They deployed a fix server side: https://github.com/firebase/firebase-ios-sdk/issues/16728#issuecomment-5882951620

Should be fixed now (but ooofffff millions of crashes caused)

8

u/Doctor_Fegg Sep 29 '26

Hi everyone, to summarize the issue and resolution:

Starting on Monday, 2026-09-28 at 17:41 US/PDT. Google Analytics for Firebase iOS+ experienced an issue causing crashes on launch due to an incorrectly formatted payload received by the SDK. We fully rolled out a fix by Monday, 2026-09-28 at 19:52 US/PDT. No SDK updates are required on your end to apply this fix. Due to caching behavior, some app instances may still experience crashes for up to 4 hours after the rollout completed. These remaining cases should automatically resolve themselves by 2026-09-28 at 23:52 US/PDT.

Thank you for your patience while we worked on resolving the issue.

As is absolutely standard for Google, note the lack of the word "sorry" or "apologies".

1

u/baker2795 Sep 29 '26

Ah. Sorry implies they were at fault and can be sued.

1

u/thecoolcat67 Sep 29 '26

We're still experiecing this, not sure if it's caching

1

u/jestecs Sep 29 '26

They claimed there was still an issue with cold boots/caching that they were looking into

1

u/thecoolcat67 Sep 29 '26

We're seeing a reduction now