Top "Bridging-header" questions

Special header that facilitates cross-language developments between Swift, Objective-C, Objective C++, C and C++ on MacOS and iOS.

Swift Bridging Header import issue

Following instructions, I've created a bridging header and added to my project. Unfortunately, the following error occurred: :0: error: could not …

ios swift xcode6 bridging-header objective-c-swift-bridge
Getting "file not found" in Bridging Header when importing Objective-C frameworks into Swift project

I have a Swift project for which I'm trying to import ObjC-based frameworks. The framework is located in a directory …

swift xcode bridging-header
Xcode not automatically creating bridging header?

I imported an Obj-C file into my swift project and Xcode automatically prompted me to create a bridging header file …

ios objective-c swift xcode bridging-header
Objective-C Bridging Header not getting created with Xcode 8

I am trying to add objective-c libraries to my Swift 3 project (Xcode 8 IDE). But objective c interface header is not …

swift3 xcode8 bridging-header
Objective-C Bridging Header for frameworks

I've made a framework that requires the sqlite3 framework. How do I add a Objective-C Bridging Header for my framework …

swift ios8 xcode6 bridging-header
"Non-portable path to file "File.h"; specified path differs in case from file name on disk" warning in bridging header after updating to Xcode 8.3

I updated to Xcode 8.3 and Swift 3.1 and got this warning in my bridging header file, referencing to an Objective-C header …

ios objective-c swift xcode bridging-header
Cocoapods 1.0: Header files not found

I just tried to update from cocoapods 0.39.x to Cocoapods 1.0. Running pod install from the terminal causes no warnings. Everything …

ios swift cocoapods bridging-header
Can I have Swift, Objective-C, C and C++ files in the same Xcode project?

Can all 4 languages be used in the same project at all, and if so how? There are similar questions in …

c++ objective-c c swift bridging-header
Added unit testing target to Xcode - failed to import bridging header won't go away

I added a new Test target to my Xcode project. My project has Swift code and Objective-C code, and has …

ios swift xcode unit-testing bridging-header
Failed to Import Bridging Header Error

I accidentally messed up my projects' settings while installing and then uninstalling cocoapods. I'm now getting the error "failed to …

ios objective-c swift xcode6 bridging-header