I have added Objective c files to swift , I am getting following error :
Opening import file for module 'Swift': Not a directory
I have added Objective c files to swift , I am getting following error :
Opening import file for module 'Swift': Not a directory
Go to the build settings
for ALL targets (including the actual project) and remove any erroneous paths from Framework Search Path.
Specifically:
Simplified the main target to:
$(inherited)
$(SRCROOT)
May be it will help you.
create (ProjectName-Bridging-Header.h) to your project root directory and there is no need to import objective c file to swift file and all the objective c files need to be import in (ProjectName-Bridging-Header.h) hope that will solve your problem.
for more info visit Xcode not automatically creating bridging header?