AgoraIO / Basic-Video-Call

Sample app to join/leave a channel, mute/unmute, enable/disable the video, and switch between front/rear cameras.
MIT License
699 stars 1k forks source link

Agora SwiftUI 1-1 video call error #260

Open tjevsevar opened 3 years ago

tjevsevar commented 3 years ago

This is the error I get every time I try to run the app on my iPad. Any ideas how to fix this?

dyld: Library not loaded: @rpath/Agoraffmpeg.framework/Agoraffmpeg Referenced from: /private/var/containers/Bundle/Application/93F49EA8-744B-4C27-8915-75461C9C6AEC/Agora-iOS-Tutorial-SwiftUI-1to1.app/Agora-iOS-Tutorial-SwiftUI-1to1 Reason: image not found dyld: launch, loading dependent libraries DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib (lldb)

yoreland commented 3 years ago

This project is aligned with sdk 3.3.0 version, which sdk version you are using?

tjevsevar commented 3 years ago

Video SDK iOS 3.3.0 version.

yoreland commented 3 years ago
image

verified on several iPad device with this demo but can't reproduce the issue. Would you mind to verify this again by using cocoapods to import sdk? it is just for verifying if there is anything unusual on sdk reference side. sample pod file could be like below:

target 'Agora-iOS-Tutorial-SwiftUI-1to1' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  pod 'AgoraRtcEngine_iOS', '3.3.0'

  # Pods for Agora-iOS-Tutorial-SwiftUI-1to1

end
danghung24031992 commented 3 years ago

Anyone fixed it?