iOS release build crashes on launch with RevenueCat (swift_task_dealloc), Podfile -Onone workaround doesn't fix it

Integrations

Hi all,

Our FlutterFlow app crashes on iPhone in every TestFlight build since about 18 Nov. It closes 0.2โ€“0.7 s after launch, before the first screen appears. Android and web are fine. Crashlytics shows nothing.

Crash log (same in every build):

  • EXC_CRASH (SIGABRT), abort() called

  • swift_Concurrency_fatalError โ†’ swift_task_dealloc, on 4 threads at once (cooperative queue)

  • StoreKit loaded

What I've confirmed:

  • With RevenueCat switched off in FlutterFlow, the app opens normally. So RevenueCat is the trigger.

  • Restoring an older project version that worked before and rebuilding it today also crashes. So it's the build environment, not our app code.

  • Tested on iOS 26.6.2 and iOS 27.2.1.

Versions:

  • purchases_flutter 10.19.0 (managed by FlutterFlow)

  • purchases_ui_flutter 10.19.0 (matched to the core version)

  • Built by FlutterFlow, with what looks like Xcode 27.2 (27B52) per the crash logs

    Questions:

    1. Is anyone else seeing this with RevenueCat on recent FlutterFlow iOS builds?

    2. Has anyone found a workaround that works, such as a different purchases_flutter version, a Podfile setting, or a build setting?

    3. Can someone from FlutterFlow say whether a RevenueCat SDK update is planned for the current Xcode?

    Crash logs attached. Our subscriptions run through RevenueCat, so this is blocking all our iOS releases.

    Related: https://github.com/FlutterFlow/flutterflow-issues/issues/7688

    Thanks!

What have you tried so far?

What I've tried:

  1. The workaround from GitHub issue #7688: SWIFT_OPTIMIZATION_LEVEL = -Onone for Profile/Release, via Custom Code โ†’ Configuration Files โ†’ Podfile. First only for the RevenueCat targets, then for all pods. I confirmed the setting is in the build (the crash moves later in startup), but it still crashes.

  2. Matching purchases_ui_flutter to purchases_flutter (both 10.19.0).

Did you check FlutterFlow's Documentation for this topic?
No
2
11 replies