Using a dynamically linked C library (.dylib) from SPM

I'm looking for something very similar to your scenario @rudedogg ("C code and built a .dylib. I also have a C header for this .dylib.").

Would it be possible for you to document the steps you took in Xcode/Terminal to implement this please?