Closed shadmanadman closed 6 months ago
So I find a workaround for this issue. You put the following tasks in your Gradle file and you should be OK. This will declare the explicit dependencies for all iOS platforms:
project.afterEvaluate {
tasks.named("kspKotlinIosSimulatorArm64") {
dependsOn("generateMRiosSimulatorArm64Main")
}
tasks.named("kspKotlinIosX64") {
dependsOn("generateMRiosX64Main")
}
tasks.named("kspKotlinIosArm64") {
dependsOn("generateMRiosArm64Main")
}
}
Thank you for your bug report and the workaround!
Ktorfit version
1.11.1
What happened and how can we reproduce this issue?
Hello. I think this might be some kind of question. I keep getting this error for building the iOS app. The android is OK:
You can see my Gradle file here. I added the needed ksp dependencies:
What did you expect to happen?
After adding the explicit dependencies to the requested task, the Gradle will not sync and throws an error:
the error is:
Task with name ':shared:kspKotlinIosSimulatorArm64' not found in project ':shared'
Is there anything else we need to know about?
No response