I wanted to ship some Objective-C code in a Swift Package. I have used this solution swift - How to create an SPM package based on ObjC code? - Stack Overflow creating my own module.modulemap
file in the include
folder and it worked.
I can't understand why. Is this behaviour documented somewhere? Or is it unsafe to use?