What's the equivalent for `.aar` for iosApp in a K...
# kotlin-native
a
What's the equivalent for
.aar
for iosApp in a KMM project? Is it
.framework
,
.klib
?
k
If you mean an artefact with resources then there is no equivalent in a native world. Each build system solves the problem by its own way
a
I meant when building a native library for Android, as an AAR that includes glue classes and .so files
It’s equivalent for KMM/iOS
That’s what I meant
k
Well, it's a framework. But you have to understand, that the ios word means three different targets And maybe you want a xcframework.
a
iOS/Arm64 primarily
Possibly simulator target too
k
So, google a xcframework
a
Okay, so it’s not a .klib?
In targeting what’s actually accessible through iosMain in a KMM project
k
Klib is a kotlin library. You asked about "native"
a
Yeah, I’m under this impression from inspecting the
zipline
project which is one of like 2 or 3 projects that implements something related to KMM/C++ and targets Android/iOS, yet it’s building a .klib for iOS/Arm64
It’s extremely confusing and I’m just connecting bits and pieces here given there’s not straightforward reference or template