Xcode SPM mixed languages

You can't mix languages in targets with Objective-C, they need to be in their own targets (and currently cross-target dependencies won't work). See the SwiftPM docs for more information on creating C language targets. SwiftPM also won't generate a bridging header automatically as well.