AgoraIO / AgoraRtcEngine_iOS

iOS Package for Agora Video RTE SDK. Perfect for video calls and live streaming.
https://agoraio.github.io/AgoraRtcEngine_iOS/
MIT License
58 stars 17 forks source link

App Crash on Launch #24

Closed ankit0812 closed 1 year ago

ankit0812 commented 2 years ago

Getting this error :

dyld[30739]: Library not loaded: '@rpath/AgoraJNDExtension.framework/AgoraJNDExtension' Library not loaded: '@rpath/AgoraJNDExtension.framework/AgoraJNDExtension'

maxxfrazer commented 2 years ago

What SDK version are you using there?

ankit0812 commented 2 years ago

3.7.0.3

plutoless commented 2 years ago

@ankit0812 do you have a minimal reproducible project?

ankit0812 commented 2 years ago

Not happening every time. This is intermittent.

brightfuture commented 2 years ago

same issue here my crash message is on AgoraRtcKit.shareEngine init

brightfuture commented 2 years ago

crash happens on mine every time except the first installation

brightfuture commented 2 years ago

I think I found the issue my app is written in SwiftUI I'm initializing AgoraRtcKit.sharedEngine during the initalization of my first state object the crash doesn't happen when I set the property to lazy var which means this has something to do with when the shared engine is initialized too early it crashes, a little later it's fine

maxxfrazer commented 2 years ago

thanks for the info @brightfuture, we’ll look into this and make sure it’s in the documentation.

maxxfrazer commented 1 year ago

Looks like this is sorted, closing issue!