https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
v

Vladimir Vainer

10/09/2023, 10:15 AM
When building an Objective-C framework or a native library (shared or static), you may need to pack not just the classes of the current project, but also the classes of its dependencies. Specify which dependencies to export to a binary using the
export
method Do i need to export my cinterop dependencies? How?
j

Jeff Lockhart

10/09/2023, 3:24 PM
Similar question asked below. See my answer.
If your framework dependency is added with CocoaPods, then you can link it in the consuming code using the
linkOnly
option. See this other example in my library.
2 Views