Post marked as solved
Post marked as solved with 1 replies, 1,132 views
Xcode 12.3 throws this Swift compiler error when building the archive of our app (for uploading to TestFlight). Debug builds run without any such errors.
Deployment target is iOS 9.0.
I've added some SwiftUI views which are all wrapped with
@available(iOS 14.0, *)
One SwiftUI view uses VideoPlayer which requires an
import AVKit
and that's exactly where the Swift compiler fails during archive build:
No such module '\_AVKit\_SwiftUI' Does anybody have any idea how to fix this?