My Podfile looks something like this (removed other Swift pods):
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks! # needed for some other pods that are written in Swift
target 'MyProject' do
pod 'Airbrake-iOS', '~> 4.2.1'
end
Then I followed the readme in order to use it in my Swift project. In my Bridging-Header.h, I add ...
#import <Airbrake_iOS/ABNotifier.h>
Then hit build. The problem is, I always get Could not build module 'Airbrake_iOS'.
I also tried this:
#import "ABNotifier.h"
But it says "ABNotifier.h" file not found.
So I add the source code directly to my project, comment out some code in GCAlertView.h to make it compile (detail at http://stackoverflow.com/a/30138540/467588). And it compiles fine.
There may be some issues with pod setup. Is anyone seeing this?