I have scenario where i have couple of SDKs and a test app. Here is the example.
SDKCore - “Objective-C Framework”
SDKUI - “Objective-C Framework”
- SDKCore is added as a dependency using Cocoapods
pod 'SDKCore', :path => '../SDKCore'and with flag ‘use_frameworks’ - SDKUIViewController uses methods from SDKCore. I’m importing like this
@import SDKCore;
Code
#import "SDKUIViewController.h"
@import SDKCore;
@interface SDKUIViewController ()
@end
@implementation SDKUIViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
[SDKClass hitTest];
self.view.backgroundColor = [UIColor redColor];
}
@end
SDKTestSwift
- SDKCore is added as a dependency using Cocoapods
pod 'SDKCore', :path => '../SDKCore'and with flag ‘use_frameworks’ - SDKUI is added as a dependency using Cocoapods
pod 'SDKUI', :path => '../SDKUI'and with flag ‘use_frameworks’
Problem
is when i compile SDKTestSwift I’m getting Module SDKCore not founda compile error on one of the files from SDKUI (See attached)

Really got stuck here. Thanks a lot in advance.
SDKUIworks fine no errors and inSDKTestSwifti am getting this errorSDKCore/SDKClass.h file not foundbridging-headerfile and import header file there in order to use obj-c in swift, another suggestion is that create an empty class (visible .m file) to make the pod generate modules, but it will create confusing for your user