It looks like that `compilations.test.outputKinds(...
# kotlin-native
t
It looks like that
compilations.test.outputKinds('EXECUTABLE')
doesn't work in new mpp plugin - there is no way to build test binary for iosX64 (only klib). @ilya.matveev/@olonho could you please check/verify?
o
Hmm, why do you need to setup it like this? I have tests working without any special magic
t
I need test binary to run it on simulator with xcrun
i
Test executables are created by the mpp plugin by default for all the targets declared. You can build them by running a task like
linkTestDebugExecutableIosSim
(provided that your target is named
iosSim
) and obtain a binary in the same way as in the
copyFramework
task (https://github.com/JetBrains/kotlin-mpp-example/blob/5511aec3f173c031f23b8d4ff6a934f629275a66/greeting/build.gradle#L67). I'll add such a case in the mpp example.
t
@ilya.matveev nice, thank you (it works)! some description or rename for the link task would be useful, too