This is frustrating because I have found dozens of guides, including here, that ALMOST match, but "almost" isn't enough. (GitHub's search interface doesn't seem to be good enough to find examples.)
- Is it possible for a Swift package to compose only if the wrapped C code, without any actual
.swift
file with original Swift code? - I'm getting the C code from a library (
libetpan
) that's on Homebrew. - There's an option for "pkgconfig" in the package manifest, but my MacBook doesn't seem to have the
pkg-config
tool installed by default. - I'm new to the module-map stuff too. And how to define/place the module's
*.h
bridging header.
(At least other people can search for this query later.)