Why could a distribution build be failed with SwiftUI?
I added SwiftUI into my iOS 10+ project, and build it locally with @available(iOS 13.0, *) prefix, but when I try to build the project for distribution, the build is failed with the following error:
cannot find type 'UIHostingController' in scope
The same error appears for other SwifUI types in my project (Text, View, Font, etc).