Join Slack
If I want to add a Swift package or XCFramework as a dependency into a native source set, what are m...
# multiplatform
k
Kirill Zhukov
10/01/2022, 12:15 AM
If I want to add a Swift package or XCFramework as a dependency into a native source set, what are my options? I imagine I need to generate
.def
file and link binaries or something, is there Gradle plugin or examples on how to do that? (relatively new to KMM as well as Native ecosystem)
Kirill Zhukov
10/01/2022, 12:16 AM
Just found a relevant thread from last year...
https://kotlinlang.slack.com/archives/C3PQML5NU/p1640724794473000
Kirill Zhukov
10/01/2022, 6:57 PM
Found Kevin's great talk on this
https://www.droidcon.com/2022/06/28/sdk-design-and-publishing-for-kotlin-multiplatform-mobile/
Kirill Zhukov
10/01/2022, 6:57 PM
The talk that I attended but did not understand a thing back then 🙃
Kirill Zhukov
10/01/2022, 6:58 PM
For context what I would ideally want to do is to integrate Rust bindings using UniFFI into a KMM library
Kirill Zhukov
10/01/2022, 6:58 PM
Wish there was already a gradle plugin for this but that doesn't seem to be implemented anywhere yet
Kirill Zhukov
10/01/2022, 6:58 PM
https://github.com/mozilla/uniffi-rs/issues/441
17
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by