I ran into this issue as well. Adding the AVKit framework fixed it. Thanks to @lucienkerlWIT for the great solution.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: