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
    VALID_ARCHS=x86_64
    ENABLE_BITCODE=NO
    SKIP_INSTALL=NO
    BUILD_LIBRARY_FOR_DISTRIBUTION=YES
    xcodebuild archive
    -workspace ios/jitsi-meet.xcworkspace
    -scheme JitsiMeetSDK
    -configuration Release
    -sdk iphoneos
    -destination=‘generic/platform=iOS’
    -archivePath ios/sdk/out/ios-device
    VALID_ARCHS=arm64
    ENABLE_BITCODE=NO
    SKIP_INSTALL=NO
    BUILD_LIBRARY_FOR_DISTRIBUTION=YES
    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.