presentation-displays icon indicating copy to clipboard operation
presentation-displays copied to clipboard

Crash on Demo

Open EvGeniyLell opened this issue 3 years ago • 1 comments

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:

  1. Get demo code from presentation_displays 0.2.32.
  2. Run it.
  3. Start sharing the iPhone screen to ATV4.
  4. Push the button 'Get Displays' and found 2 screens (builtin id:0 and external id:1)
  5. Push the button 'Show Presentation' with '1' as id for share screen
  6. CRASH!!!
  • OS: iOS 15
  • Device: iPhone 6s/Xs/12

EvGeniyLell avatar Apr 08 '22 18:04 EvGeniyLell

I have the same on a 10.5" iPad Pro running iOS 15.3.1 connected to a HDMI display using a dongle

wellsysworld avatar Jun 30 '22 12:06 wellsysworld