I had the same issue. I resolved it by adding the AVKit.framework (Do Not Embed) under the "Frameworks, Libraries, and Embedded Content" section at the Target
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: