Hello, I'm working on a mixed-source (Objective-C + Swift) framework project and need to call some Objective-C methods from Swift. However, I do not want to make the Objective-C methods public in doing so. Previously, this could be accomplished using a bridging header, but bridging headers are no longer supported in a framework target. The following article explains how this can be done via an umbrella header instead:
But it seems that using an umbrella header to bridge Objective-C to Swift requires making the Objective-C APIs public, which I do not want. Is there a supported way to bridge Objective-C to Swift within a framework without making the Objective-C methods public?