Skip to content

Missing iOS symbols with flutter 3.44.x with SPM enabled #641

@bjartebore

Description

@bjartebore

Submission checklist

  • I have confirmed the issue is present in the latest version of the rive Flutter package
  • I have searched the documentation and forums and could not find an answer
  • I have searched existing issues and this is not a duplicate

Description

When building a production build of our app we noticed in our logging that the rive player fails with the following error Failed to lookup symbol 'makeFlutterFactory': dlsym(RTLD_DEFAULT, makeFlutterFactory): symbol not found.. The player works fine with flutter run, we only se this with production builds after upgrading to flutter 3.44.

After some debugging it seems like the symbol files are not included when building with SPM. Changing back to cocoapods with enable-swift-package-manager: false makes it work.

Reproduction steps / code

No response

Upload your reproduction files / stack trace

No response

Source .riv / .rev file

No response

Screenshots / video

No response

Rive Flutter package version

0.14.7

Flutter version

Flutter 3.44.0 • channel stable • [email protected]:flutter/flutter.git
Framework • revision 559ffa3f75 (3 weeks ago) • 2026-05-15 14:13:13 -0700
Engine • hash fcf463a2242790d1fdcd9d044f533080f5022e18 (revision 4c525dac5e) (18 days ago) • 2026-05-15 19:00:04.000Z
Tools • Dart 3.12.0 • DevTools 2.57.0

Device

iPhone 17

OS version

ios 26

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions