jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.97k stars 6.69k forks source link

Terminating app due to uncaught exception 'NSInvalidArgumentException #14734

Closed ekirifaldi closed 2 months ago

ekirifaldi commented 4 months ago

For iOS Swift, I already success to join the call, But if I move to iOS Hompage and reopen the app, It will be force close (terminated)

My code:

image

The error:

Screenshot 2024-05-12 at 14 40 53

Thank you

saghul commented 4 months ago

Are you using SwiftUI?

ekirifaldi commented 4 months ago

No, I'm using UIKit

ekirifaldi commented 4 months ago

I also tried to create a new project, but the result is the same. strangely, there is no force close when building the sample project from Jitsi.

Already, Always Embed Swift Standard Libraries is YES, permission for camera and microphone are given, selected the "audio" and "voip" background modes.

saghul commented 4 months ago

How does your main app delegate look like?

saghul commented 4 months ago

It needs to look something like this: https://github.com/jitsi/jitsi-meet-sdk-samples/blob/master/ios/swift/JitsiSDKTest/src/AppDelegate.swift

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.