Hey there! I’m trying to build a KMP project into ...
# kotlin-native
m
Hey there! I’m trying to build a KMP project into 3 targets: arm64 (real device) plus x64 and arm64 for simulator. I’m using the
./gradlew createSwiftPackage
command, which in turn creates an xcframework using KMP’s tooling. However, the built framework only contains x64 simulator and arm64 (real device) code, so the simulator on my MacBook M1 will not run. Did anyone successfully build an xcframework for all 3 targets, that is also able to run on M1 simulators as well as on Intel simulators?
👍 1
I see @Sebastian Sellmair [JB] did work on an issue regarding this, and I also read that @russhwolf seemed to experiment with this. I’d be so happy if someone could help me with this!
r
I actually don't currently have an M1 machine so I don't have a great test environment for this stuff. But try posting your gradle config and I might have some insight.
👍 1
m
Thank you so much @russhwolf for helping!
👍 1