Posts with videos cause crash
cherryblossom000 opened this issue · 0 comments
cherryblossom000 commented
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.