Hey everyone, I'm trying to configure Koin with my...
# koin
f
Hey everyone, I'm trying to configure Koin with my Compose Multiplatform project (targeting Android and iOS with shared UI). I can't get the iOS build to work.. I've tried following this guide: https://insert-koin.io/docs/quickstart/cmp but it's very vague at the iOS section. I have also looked into the linked code (https://insert-koin.io/docs/quickstart/cmp) and have tried calling initKoin() in both MainViewController's ComposeUIViewController configure parameter and in the iOSApp.swift's init() method... nothing seems to work. When running ./gradlew build im getting:
Task composeApplinkDebugFrameworkIosArm64 FAILED
(I can provide exception stack trace's if required) Anyone got any ideas or has struggled with similar issues?
composeApplinkDebugFrameworkIosArm64 Stacktrace.txt
I'm still stuck on this issue and have attached the stack trace above, thanks in advance for any help.
m
kotlin.native.cacheKind=none Based on your stack trace, I’d say you should try adding the above line in your gradle.properties
f
hey, sorry for answering so late, but your suggested solution solved my problem 👍
👍 1