`def binary = kotlin.targets.iosSim.compilations.t...
# kotlin-native
t
def binary = kotlin.targets.iosSim.compilations.test.getBinary('EXECUTABLE', 'DEBUG')
doesn't work anymore in eap-52, what it the new way to get test binary?
i
Yes, an extended DSL for final native binaries is added in 1.3.20-eap-52. It still supports constructions like
compilations.main.outputKinds = [...]
but also provides additional APIs to create and configure binaries independently. So the default test executable is now created using these APIs. You can access it in the following way:
Copy code
kotlin.targets.ios.binaries.getExecutable('test', 'DEBUG').outputFile
But inability to access the default test executable in the "old" way looks like a bug. Could you please open a tiket at YouTrack or GitHub?
t