-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Recently I upgraded to latest Flutter v3.38.2, and migrated my project to comply with UIScene life cycle, following official docs, and now, the app doesn't run on iOS due to the following error:
Process 1955 stopped
- thread The 'Pods-Runner' target has frameworks with conflicting names: webrtc.xcframework. #1, queue = 'com.apple.main-thread', stop reason = Swift runtime failure: force unwrapped a nil value
frame The 'Pods-Runner' target has frameworks with conflicting names: webrtc.xcframework. #1: 0x0000000103fa4f5c jitsi_meet_flutter_sdk`static JitsiMeetPlugin.register(registrar=0x000000010f232420) at JitsiMeetPlugin.swift:16:115
13
14 public static func register(with registrar: FlutterPluginRegistrar) {
15 let channel = FlutterMethodChannel(name: "jitsi_meet_flutter_sdk", binaryMessenger: registrar.messenger())
-> 16 let flutterViewController: UIViewController = (UIApplication.shared.delegate?.window??.rootViewController)!
^
17 let instance = JitsiMeetPlugin(flutterViewController: flutterViewController)
18 registrar.addMethodCallDelegate(instance, channel: channel)
19
In the mean time I reverted the UIScene life cycle migration, but it is important to make sure Jitsi can run after the UIScene migration because this will be required on future iOS versions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels