presentation-displays
presentation-displays copied to clipboard
Crash on Demo
When I try to start a presentation from the demo for 1 external screen a have crash
["displayId": 1, "routerName": presentation]
presentation_displays/SwiftPresentationDisplaysPlugin.swift:111: Fatal error: Unexpectedly found nil while unwrapping an Optional value
presentation_displays/SwiftPresentationDisplaysPlugin.swift:111: Fatal error: Unexpectedly found nil while unwrapping an Optional value
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
frame #0: 0x00000001889443d4 libswiftCore.dylib`_swift_runtime_on_report
Steps to reproduce the behavior:
- Get demo code from presentation_displays 0.2.32.
- Run it.
- Start sharing the iPhone screen to ATV4.
- Push the button 'Get Displays' and found 2 screens (builtin id:0 and external id:1)
- Push the button 'Show Presentation' with '1' as id for share screen
- CRASH!!!
- OS: iOS 15
- Device: iPhone 6s/Xs/12
I have the same on a 10.5" iPad Pro running iOS 15.3.1 connected to a HDMI display using a dongle