Hi, I ran into an issue when using Koin in a KMP p...
# koin-contributors
s
Hi, I ran into an issue when using Koin in a KMP project for Apple Watch: https://github.com/InsertKoinIO/koin/issues/1747 I'm using the default target hierarchy in KMP with:
Copy code
watchosX64()
watchosArm64()
watchosSimulatorArm64()
When using the targeting the watch-app or testing on the simulator, that works fine. But when building / archiving the companion-ios app, that fails, because it is expecing a
arm64
version of the watch-app to be bundled in companion app. A workaround is to explicitly exclude the
arm64
build for the watch-app in XCode , but that breaks running on the simulator. KMP has fixed this issue in 1.8.20 by adding:
watchosDeviceArm64()
, but Koin doesn't include that target yet. Could someone please add it ? Or do you prefer a PR ?
a
you can add the target with a PR 👍
s
@arnaud.giuliani thanks, requested: https://github.com/InsertKoinIO/koin/pull/1751
a
Thanks 👍