Build vs Compile file and -Swift.h header

Rick Mann

Why is it that I can Build my project and an Objective-C file that imports the "Module-Swift.h" header compiles just fine. But if I Compile that file only, while it seems to find the -Swift.h header just fine, the Swift classes referenced in the Objective-C file aren't properly defined and create errors.

It seems like this behavior is inconsistent, but right now it's being a PITA.

Any suggestions for fixing it? Thanks.

Rick Mann