Right, but you can’t have a single package containing both ObjC and Swift. It’s a limitation of SwiftPM that has prevented me from using it for a few projects (I am using it in several others, though).
My involvement with MacOS development is somewhat limited and I have no plans publishing any packages yet ;)
For whoever comes after me... When ChatGPT suggests changing your Objective-C from this:
#import package.h
To this: #import <package/package.h>
Just skip that rabbithole of inifiny-nested failure, and just do this instead: @import package;
And you're done. You can thank me later :)