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
- Add
jitsi_meet_flutter_sdk to pubspec.yaml
- Run
pod install
- 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.
Description
When running the iOS app, the following warnings appears at startup, which leads to a crash:
Root Cause
jitsi_meet_flutter_sdkshipsJitsiMeetSDK.frameworkas a precompiledvendored framework, which already bundles
libwebpandGiphyUISDKinternally.At the same time, CocoaPods resolves
libwebpas a separate standalone dynamicframework and embeds it into the app bundle — resulting in three copies of
libwebpat runtime.Steps to Reproduce
jitsi_meet_flutter_sdktopubspec.yamlpod installExpected Behavior
libwebpshould only be present once at runtime, embedded insideJitsiMeetSDK.framework(and/orGiphyUISDK.framework).Actual Behavior
libwebpis embedded three times:libwebp.frameworkJitsiMeetSDK.frameworkGiphyUISDK.frameworkEnvironment
Possible Fix
Remove
libwebpfrom the standalone embedded frameworks, since it is alreadyprovided transitively by
JitsiMeetSDK.frameworkandGiphyUISDK.framework.