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

Alex Brown

09/15/2021, 2:28 PM
Hey 👋 Has anyone had any success linking the shared framework from a KMM project in Xcode 13? I can produce the framework for
Arm64
builds, but when I try and export for
X64
I get the following error:
Execution failed for task ':shared:linkDebugFrameworkIosX64'
Even when I do successfully export an Arm framework I get loads of build errors. Just wondered if anyone has already solved this problem, whether this a known issue or unique to our project setup. Thanks!
t

tylerwilson

09/15/2021, 4:26 PM
I have been using the new XCFramework support successfully with Xcode 13 (though only release builds work with iosArm32). Might I suggest trying that to get running. I have also has success with the :embedAndSignAppleFrameworkForXcode that was introduced in 1.5.20, which should only build the arch you need at the moment.
a

Alex Brown

09/15/2021, 5:10 PM
Thanks for the tip! I'll give that a try