I’m building a ktor client plugin targeting jvm, i...
# multiplatform
i
I’m building a ktor client plugin targeting jvm, ios and js. locally, the ios jars are built, but not when running on CI (linux) The tasks are disabled with no explanation on CI. do i need to run it on a mac image or install xcode or something?
m
Most likely yes, you'll need a Mac image if you want to run
i
Interesting, because i can build linux targets on mac
i think the issue is that this is not stated in the build logs
m
Yea, mac can build almost everything else but the opposite isn't true
If you run Gradle with
-i
, you should see
SKIPPED
tasks IIRC
i
yeah i did that before, it says skipped cause if onlyIf evaluated to false, then after a bunch of debugging i found the onlyIfSpec is just “if enabled”. i think the kotlin plugin should notify when it’s disabling them and why.