I've got the source for a fairly simple (but not q...
# multiplatform
t
I've got the source for a fairly simple (but not quite trivial) library that I want to include in my Kotlin/Native target on iOS. What's the easiest way to build it so I can call its functions from my
iosMain
Kotlin code? Should I build a static library in an iOS project, copy the
.a
file and headers into my iOS app source tree, then include the headers and link against the
.a
file via
cinterops
? Or build it as a framework and similarly link to it through
cinterops
that way? There isn't an existing Pod or pre-built version of this library that I'm aware of. And if I can just build this once and include the static library and headers, that's fine, since I won't need to make edits to it (this is just temporary until I can replace it with SQLDelight)