4
votes

I am writing a Cocoa Framework for iOS in Swift language. I need to add a third party framework (written in Objective-C) inside this framework. I have added headers to the bridging file. But when i build the project i get the following error:

"using bridging headers with framework targets is unsupported"

1

1 Answers

0
votes

You should use import ObjcFrameworkName instead of using bridging header.

To make this possible objc framework must contain .modulemap file with exported module name and umbrella header for all public headers of this framework.