In KMM project, can i add a dependency on xcframe...
# multiplatform
v
In KMM project, can i add a dependency on xcframework library to iOS target?
j
Yes. Is it a binary you are pulling from somewhere or local to your project repository?
If it's a local binary, you can generate Kotlin interop and link with a .def file. See: https://kotlinlang.org/docs/native-c-interop.html#select-library-headers and https://kotlinlang.org/docs/native-objc-interop.html If it's a remote binary, available through CocoaPods, you can use the CocoaPods plugin: https://kotlinlang.org/docs/native-cocoapods.html
v
Thanks
354 Views