We are attempting to integrate a native iOS/tvOS p...
# multiplatform
s
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
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
Thanks @mkrussel! It seems this approach works perfectly… Lots of string manipulation based on each target but it does the job.