Using a C file in a Swift Framework: an exploration
The problem While building a diagnostics tool, we shipped it as a single Pod containing only pure Swift code. The Swift code needed to call into a few system C library features — specifically, resolv.h from the …