rive-app / rive-app/rive-flutter

Missing iOS symbols with flutter 3.44.x with SPM enabled

Open
#641 4 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
1.5k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

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 • git@github.com: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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the production-build failure described for Rive Flutter 0.14.7 with Flutter 3.44.0, iOS 26, and Swift Package Manager enabled, then compare it with CocoaPods using enable-swift-package-manager: false. Trace why makeFlutterFactory is absent from the production package; done means the symbol is available and the Rive player works in a production build.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.