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

Nikita Khlebushkin

02/26/2020, 10:41 PM
Yet another question about cocoapods + KMP: how do I build fat framework (more than one target, eg. iosX64 and iosArm64) using cocoapods?
s

spierce7

02/26/2020, 11:18 PM
https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html Scroll to
building universal frameworks
. They added a task that you can configure and run. I’ve successfully been able to get it to work by following this documentation
n

Nikita Khlebushkin

02/27/2020, 5:45 AM
@spierce7 isn't the process different for Cocoapods?
s

spierce7

02/27/2020, 5:59 AM
I actually haven’t used cocoapods
I was able to build a kmp project fat jar and release it via carthage pretty easily
n

Nikita Khlebushkin

02/27/2020, 6:21 AM
That's the problem: when you use cocoapods deps, you can only build it from Xcode
a

Artyom Degtyarev [JB]

02/27/2020, 10:23 AM
Hello, @Nikita Khlebushkin! Unfortunately, we have no such option for now, see (https://youtrack.jetbrains.com/issue/KT-31829).
n

Nikita Khlebushkin

02/27/2020, 10:29 AM
Hello and thanks @Artyom Degtyarev [JB]! Is there a workaround (even messy) or all I can do for now is upvote the ticket?
a

Artyom Degtyarev [JB]

02/27/2020, 10:30 AM
I’m afraid that upvoting is the only option here 😞 But I hope it will get more priority soon
😱 1