I\'m attempting to use Swift classes in my Objective-C code, however my Swift classes don\'t seem to appear in the generated header. As a result, my build fails with \"Use o
Maybe you defined a Swift class with the same name as an existing Objective-C class which wouldn't be unusual if you want to refactor your Objective-C code to Swift.
As long as you have a class defined simultaneously in Swift and Objective-C the compiler quietly stops updating the bridging header altogether ("ProductModuleName-Swift.h"
) - which also affects subseqeuent changes in other bridged Swift files.
For general reference how to import Swift into Objective-C see: Importing Swift into Objective-C | Apple Developer Documentation
Class should be declared as @objc public class