Open michaeleisel opened 4 years ago
It's an error from the Swift compiler, right? As the error says, bridging headers aren't allowed in frameworks, only in applications. What you want is an umbrella header instead. Would adding that header (and all the headers that it imports) to hdrs
work?
When I try to add a bridging header with
swift_copts = ["-import-objc-header", "path/to/Bridging-Header.h"]
, it fails to build, telling me that frameworks don't support bridging headers. Ideally, this wouldn't happen, and also there'd be abridging_header
attr or something