Skip to content

[iOS] Duplicate class PodsDummy_libwebp causes crashes when using jitsi_meet_flutter_sdk #160

@MarcelGalster

Description

@MarcelGalster

Description

When running the iOS app, the following warnings appears at startup, which leads to a crash:

objc[...]: Class PodsDummy_libwebp is implemented in both .../Runner.app/Frameworks/libwebp.framework/libwebp and .../Runner.app/Frameworks/JitsiMeetSDK.framework/JitsiMeetSDK.

objc[...]: Class PodsDummy_libwebp is implemented in both .../Runner.app/Frameworks/libwebp.framework/libwebp and .../Runner.app/Frameworks/GiphyUISDK.framework/GiphyUISDK.```

Root Cause

jitsi_meet_flutter_sdk ships JitsiMeetSDK.framework as a precompiled
vendored framework, which already bundles libwebp and GiphyUISDK internally.
At the same time, CocoaPods resolves libwebp as a separate standalone dynamic
framework and embeds it into the app bundle — resulting in three copies of
libwebp at runtime.

Steps to Reproduce

  1. Add jitsi_meet_flutter_sdk to pubspec.yaml
  2. Run pod install
  3. Build and run the iOS app

Expected Behavior

libwebp should only be present once at runtime, embedded inside
JitsiMeetSDK.framework (and/or GiphyUISDK.framework).

Actual Behavior

libwebp is embedded three times:

  • As a standalone libwebp.framework
  • Inside JitsiMeetSDK.framework
  • Inside GiphyUISDK.framework

Environment

  • Flutter: 3.41.6
  • jitsi_meet_flutter_sdk: ^12.0.0
  • CocoaPods: 1.16.2
  • iOS Deployment Target: 13.0
  • Xcode: 26.4

Possible Fix

Remove libwebp from the standalone embedded frameworks, since it is already
provided transitively by JitsiMeetSDK.framework and GiphyUISDK.framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions