I\'ve read a lot of questions and answers that deal with a similar issue, but I have yet to find a solution. If anyone could shed some light, that would be wonderful.
I answered this in another post: Chartboost integration issues with XCode 6.1
It seems like some pods and libraries don't bother importing the basic frameworks as they expect your code to already have them. This doesn't work with Swift as the way to import frameworks changed. All you need to do is to add the frameworks needed in your bridging header file.
It depends on what errors the compiler throws.
If it complains about NSObject
, NSString
, etc... you need to add
#import
in the top of your bridging header file.
If it complains about UIView
, UIButton
, etc... you need to add #import
in the top of your bridging header file.