I have an app module that imports the AppFoundation framework, which is an umbrella framework containing commonly used frameworks in the target app.
// AppFoundation.swift
----
@_exported import Foundation
#if DEBUG
@_exported import AppMocks
#endif
@_exported import AppModels
@_exported import Alamofire
I tried using @preconcurrency for a framework (AppModels) that’s imported and exported within the umbrella framework to silence compiler warnings in the app module related to types from that framework that aren’t Sendable-friendly. However, I ended up having to use @preconcurrency on each import in the app module instead of a single @preconcurrency import within the umbrella framework.
My question is: Is it possible to use @preconcurrency inside umbrella frameworks and have it propagate to modules that import the umbrella framework, or is this not supported?