Hello i've tried the project from here <https://ko...
# kotlin-native
m
Hello i've tried the project from here https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html, i understood that build generate a jar file for android and a framework file inside bin folder for ios but i only get the jar file when building with android studio how can i generate the framework file then pleaz?
e
When you build just using the
app
target in Android Studio, it won’t build that framework. Try opening the Gradle sidebar, flipping open
SharedCode
>
Tasks
>
Other
and clicking on the
packForXcode
option
that should build it the first time, after which you’ll find it in
SharedCode/bin/xcode-frameworks
(i changed the name of
SharedCode
to something else but this is basically what it looks like in AS for me)
m
Thank you for your clear answer.
e
you’re welcome! hope it helped.