Cannot find interface declaration in myproject-swift.h
You needed to import the -Swift.h for for both the framework and the app target
For Example :
#import <UIKit/UIKit.h> #import <AVFoundation/AVFoundation.h> #import <Foundation/Foundation.h> #import "XLPagerTabStrip-Swift.h" #import "RealmSwift-Swift.h" ...... // Add all frameworks, subclasses, and dependance ios frameworks #import "MyProject-Swift.h"
You can read this article How to import file header and check paths