I get this error when i run my application with objective-c libraries and swift classes. It says that i:
Failed to import bridging header '/Users/../Projectname-Bridging-Header.h'
This file has been created when i imported the swift classes into my project. I've also enabled and set the name for 'defined module' in build settings/packaging with no succes. Inside the bridging-header.h file, the library header files written in objective-c are not found.
I'm running xCode 6.0.1
I've forgot to add the frameworks for the specific targets in my pod file.
target "MyTarget" do
pod 'MyFramework', '~> 2.1'
end
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.