After updating to CocoaPods 0.36.x, I am unable to add imports into my Bridging-Header.h file. I get the \"DBSphereView.h file not found\".
The file is indeed presen
In Project > Build Settings > Search Paths > Header Search Paths
Add:
"${PODS_ROOT}/Headers/Public/[Name of folder which pod files are contained in]"
Do that for every pod you installed
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.
Try this:
import <DBSphereTagCloud/DBSphereView.h>
import <DBSphereTagCloud/DBSphereView.h>
I had problems with this. My bridging header wasn't finding pod libs. I ended up finding out that I have to do this.
For me...
Original
import "<Folder/File.h>"
Change to
import <Folder/File.h>