Hey! I am having troubles running kotlin-platform-...
# kotlin-native
m
Hey! I am having troubles running kotlin-platform-native plugin to run on Appcode to write Native ios apps (without using any objective c or swift kinda like the sample app). However, I see that kotlin-platform-native plugin adds a compileDebugIos_x64KotlinNative task while appcode wants compileKonan<projectName>Ios_x64 as task while building at least in Appcode. I was wondering if using Konan and Kotlin plugins is the intended use in this case instead of kotlin-platform-native plugin?
e
Please consider using
kotlin-platform-native
.
konan
plugin is incompatible.
m
I am sorry I was a bit unclear. I am using kotlin-platform-native. I am declaring target as ios_arm64 with output kind executable in sourcesets.main.component. But, I am using Appcode to create iOS using Kotlin/Native (without using Objective C or Swift code). But, the execution script for Appcode executes task compileKonan<projectName>Ios_arm64 while the plugin doesn’t create that task. Instead the plugin creates compileDebugIos_Arm64KotlinNative task. This obviously results in a build fail. That’s why I ask whether for such use cases, using Kotlin and Konan is the intended usage.
i
kotlin-platform-native
is not final and there is no support for it from AppCode side at the moment. Please use the
konan
plugin.