command to build swiftmodule:
swiftc lib.swift -L. -lclient -import-objc-header bridging-header.h -emit-module -emit-module-path ./client.swiftmodule
command to compile file using above module:
swiftc -I. example.swift client.swiftmodule
errors:
bridging-header-1.pch:1:314: error: source file is not valid UTF-8
error: failed to import bridging header