How to reference header files in Bridging-Header.h after updating CocoaPods to 0.36.x and above? How to reference header files in Bridging-Header.h after updating CocoaPods to 0.36.x and above? swift swift

How to reference header files in Bridging-Header.h after updating CocoaPods to 0.36.x and above?


In your Podfile, you specified use_frameworks!.

As a result, the Objective-C code you're including as a dependency (DBSphereTagCloud) is packaged as a framework, instead of a static library. Please see CocoaPods 0.36 - Framework and Swift Support for more details.

As a consequence, you don't need a bridging header file. It's enough for you to add:

import DBSphereTagCloud

in all the Swift files that need that module.


I had problems with this. My bridging header wasn't finding pod libs. I ended up finding out that I have to do this.

enter image description here


Try this:

import  <DBSphereTagCloud/DBSphereView.h>import  <DBSphereTagCloud/DBSphereView.h>