Join Slack
We are attempting to integrate a native iOS/tvOS package that’s been packaged as a full `.xcframewor...
# multiplatform
s
stillping
06/15/2021, 2:49 PM
We are attempting to integrate a native iOS/tvOS package that’s been packaged as a full
.xcframework
into a KMP project Is there any built-in way of consuming these things in KMP? If not, is there a Gradle plugin for this?
👍 2
m
mkrussel
06/15/2021, 5:06 PM
I don't know of any built in way to do it. But and
.xcframework
contains architecture directories containing normal frameworks. You need to make the cinterop point to the correct directory based on the target.
s
stillping
06/16/2021, 7:45 AM
Thanks
@mkrussel
! It seems this approach works perfectly… Lots of string manipulation based on each target but it does the job.
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by