I am trying to import a swift class to my objective-c project but I get "Use of undeclared identifier" error inside my .m file when I try to use the swift class.
Inside my swift class there is an "@objc" marker. When I created the swift class I added the bridge file. I also checked those values:
Defines Module : YES
Always Embed Swift Standard Libraries : YES
Install Objective-C Compatibility Header : YES
Also in Target/Build Settings/Objective-c Bridging Header I checked that the path to the bridging file is correct.
What am I doing wrong? Do I have to write something inside the bridging file?