using kotlin-inject in an app with iOS targets for...
# kotlin-inject
z
using kotlin-inject in an app with iOS targets for the first time but seeing an odd behavior that seeeems to be the kotlin compilation missing some generated sources. The generated code all looks correct, and some of it is being compiled, but seemingly some of it (namely the anvil-generated contributions) are deemed to be missing and fail to compile even though they’re present in the same generated source set 🤔. Curious if anyone else has seen issues like this https://github.com/ZacSweers/FieldSpottr/pull/66
r
I suspect this won’t be helpful at all. We’re on Kotlin 1.9.24 still. We consume all dependencies in a single KMP project that then generates a single framework for iOS. Merging for us works. Is there maybe a difference for you whether the generated code is part of the same module or comes from another module?
z
All one module in this case
And only happens in the iOS source set. Android and desktop work fine