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
Execution failed for task ':sample:app:kspKotlinIosSimulatorArm64'.
> A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
> Error type '<ERROR TYPE: UIApplication>' is not resolvable in the current round of processing.
The text was updated successfully, but these errors were encountered:
The difference between the build on Mac and on Linux is the kotlinCompilation.compileDependencyFiles from the corresponding Kotlin compilation task. On Mac, it has all the binding klibs. On Linux, it has none.
During Gradle configuration, this warning pops up on the Linux build:
w: The following Kotlin/Native targets cannot be built on this machine and are disabled:
iosSimulatorArm64
And it is why the dependencies are not populated.
On KSP1, the reproducer doesn't fail because the corresponding KSP task is disabled alone with the compilation. So what should be fixed here is that the task should be disabled for KSP2 as well.
Original discussion: https://kotlinlang.slack.com/archives/C013BA8EQSE/p1729726539158869
Failing PR: amzn/kotlin-inject-anvil#54
Unresolvable reference: https://github.com/amzn/kotlin-inject-anvil/blob/main/sample/app/src/iosSimulatorArm64Main/kotlin/software/amazon/lastmile/kotlin/inject/anvil/sample/IosAppComponent.kt
The text was updated successfully, but these errors were encountered: