Dimillian / RedditOS

The product name is Curiosity, a SwiftUI Reddit client for macOS Big Sur
Apache License 2.0
3.95k stars 199 forks source link

Posts with videos cause crash #37

Open cherryblossom000 opened 3 years ago

cherryblossom000 commented 3 years ago

I tried viewing this post, which is a video, and it caused a crash with the error failed to demangle superclass of VideoPlayerView from mangled name 'So12AVPlayerViewC': unknown error.

The full crash details: https://gist.github.com/cherryblossom000/381c31bb2761e19517b24e88ad7ce6eb

I'm not really sure if this is an issue with SwiftUI or RedditOS, but I reported it to Apple anyway.

This seems to be a SwiftUI bug and apparently only occurs when the app isn't being debugged. According to this website a workaround is to manually link the AVKit framework.