Skip to content

Posts with videos cause crash #37

@cherryblossom000

Description

@cherryblossom000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions