You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On our projects we export Koin library to shared framework so iOS app and Swift code can contribute to Koin dependencies tree.
When SKIE is introduced to such a project the XCode build fails on: Ambiguous type name 'Timer' in module 'shared'
where Timer seems to be org.koin.core.time.Timer.
Interesting is that this happens only when iosX64() is added as target. When only iosArm64() & iosSimulatorArm64() targets are present, the XCode build runs just fine.
Thank you for providing the sample. Thanks to that, I verified this is a different bug. Thankfully, I know what's causing the ambiguity. It's because one of the modulemap files still contains transitive re-export that SKIE removes to avoid the ambiguity.
On our projects we export Koin library to shared framework so iOS app and Swift code can contribute to Koin dependencies tree.
When SKIE is introduced to such a project the XCode build fails on:
Ambiguous type name 'Timer' in module 'shared'
where
Timer
seems to beorg.koin.core.time.Timer
.Interesting is that this happens only when
iosX64()
is added as target. When onlyiosArm64()
&iosSimulatorArm64()
targets are present, the XCode build runs just fine.Tested on
Kotlin 1.9.10
&SKIE 0.5.2
The issue is reproducible on
koin
branch of this repo: https://github.com/Cleverlance/kotlin-multiplatform-playground/tree/koin/try-skieIntroduction of Koin library is isolated in this commit: Cleverlance/kotlin-multiplatform-playground@eb8319a
Full XCode log: Build skie_2023-11-02T13-32-50.txt
The text was updated successfully, but these errors were encountered: