Trying to call a c header in a swift project as follows in the GitHub link. https://github.com/lemire/SwiftCallingCHeader
The only problem is this doesn't work with SPM 4.2. How do I do this?
NOTE: this question is NOT asking how to wrap a c-library with spm so it can be used as a library in another swift project. incase you are interested in knowing how that's done , check out, https://github.com/RockfordWei/CSwift