I need to send a swift lib executable to consultants and don't want to reveal source code.
Consultants have their own iOS GUI app, which needs to call my BLE lib.
In C, I'd send only the lib's .a and .h files. How do I do this in swift?
To clarify, this is for distribution within our finite development team, and NOT for public distribution nor Apple Store.
UPDATE...
I followed answer of Eugene D...
I created new Xcode project: kingpin_mobile_framework_12Nov21a
and set its Mach-O=static lib and its BUILD_LIB..=Yes
Then I went to my app project and clicked and dragged
project kingpin_mobile_framework_12Nov21a
into app project and build.
But now app project can't import the swift in the new framework:
import kingpin_mobile_framework_12Nov21a
gets build error "No such module":