Dyld: Library not loaded: @rpath/GiphyUISDK.framework/GiphyUISDK

How to reproduce :

  1. Using latest source code from jitsi-meet
    git clone GitHub - jitsi/jitsi-meet: Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

  2. npm update && npm install

  3. cd ios

  4. pod install

  5. mkdir -p ios/sdk/out
    xcodebuild clean
    -workspace ios/jitsi-meet.xcworkspace
    -scheme JitsiMeetSDK
    xcodebuild archive
    -workspace ios/jitsi-meet.xcworkspace
    -scheme JitsiMeetSDK
    -configuration Release
    -sdk iphonesimulator
    -destination=‘generic/platform=iOS Simulator’
    -archivePath ios/sdk/out/ios-simulator
    xcodebuild archive
    -workspace ios/jitsi-meet.xcworkspace
    -scheme JitsiMeetSDK
    -configuration Release
    -sdk iphoneos
    -archivePath ios/sdk/out/ios-device
    xcodebuild -create-xcframework
    -framework ios/sdk/out/ios-device.xcarchive/Products/Library/Frameworks/JitsiMeetSDK.framework
    -framework ios/sdk/out/ios-simulator.xcarchive/Products/Library/Frameworks/JitsiMeetSDK.framework
    -output ios/sdk/out/JitsiMeetSDK.xcframework
    cp -a node_modules/react-native-webrtc/apple/WebRTC.xcframework ios/sdk/out

Then use the xcframework with the webrtc framework,
compile with no issue but when running will show

dyld: Library not loaded: @rpath/GiphyUISDK.framework/GiphyUISDK
Referenced from: /private/var/containers/Bundle/Application/id/JitsiIOS.app/Frameworks/JitsiMeetSDK.framework/JitsiMeetSDK

Reason: image not found

Yes, this is known. It will be fixed in the next SDK release. Stick to released versions for the time being.

@saghul : Any update on the above issue. Is that resolved in stable release (2.0.7210).

I’m using this stable release. But still facing an run time error. Please advise asap. Thanks. Looking forward your reply.

@saghul : Any update on this issue. Looking forward your reply

@marun Maybe wait for him to get to this? Asking several times within hours will not change anything.

@Freddie : Thanks. I got an immediate prod release.So follow up with him in short time. Sorry for the trouble.

Mind that this is a community forum where people share their knowledge in their free time and not a support forum where you expect answers in a few hours. Saul is off till the end of the week and will reply to you when he has time next week or after that.

@damencho : Noted. Thanks.

I just revert to use old version instead of latest version.

I’m not sure where or how but we need to document that web stable releases are NOT mobile app or sdk stable releases.

So no, this has not been fixed in the latest SDK.

Update: SDK 5.1.0-rc.3 is out on CocoaPods. We added Giphy as a Pod dependency, so this is taken care of automatically now.

@saghul I just built the latest release version for iOS (5.1.0) and I’m seeing the same error. Is there another build that I need to be using?

If you build the SDK youself you need to make your app depend on it. Look at the JitsiMeetSDK podfile as an example: jitsi-meet-ios-sdk-releases/JitsiMeetSDK.podspec at master · jitsi/jitsi-meet-ios-sdk-releases · GitHub

I copied over the GiphyUISDK into our project and made it a dependency. All is good now. I’m just wondering why we need to specifically make this framework a dependency, but none of the others that the Jitsi Framework uses.

Jitsi Meet only uses 2 frameworks: WebRTC and Giphy. The rest are statically compiled and become part of the JitsiMeetSDK framework.

1 Like