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
One SwiftUI view uses VideoPlayer which requires an
and that's exactly where the Swift compiler fails during archive build:
Deployment target is iOS 9.0.
I've added some SwiftUI views which are all wrapped with
Code Block @available(iOS 14.0, *)
One SwiftUI view uses VideoPlayer which requires an
Code Block import AVKit
and that's exactly where the Swift compiler fails during archive build:
Does anybody have any idea how to fix this?No such module '_AVKit_SwiftUI'