I build framework, which has both Obj-C and Swift file. I need to import Swift file into Obj-C file using:
#import "ProjectName-Swift.h"
All Build settings are default, despite Defines module set to YES, Obj-C Generated Interface Header Name to $(PROJECT_NAME)-Swift.h and Always embed Swift Standard Libraries to YES (for both project and target).
Unfortunately I have error:
'ProjectName-Swift.h' file not found
when I build the project. How should I cope with importing Swift file into Obj-C?
I need to import Swift to Obj-C, not the other way.