You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when I run kspAndroidNativeArm64 and kspIosArm64 task, both of their platformName value is "Native", like this
so is there any way to know which native target is running in SymbolProcessorProvider or SymbolProcessor, I want to know which native target that ksp is running(iosArm64 or androidNativeArm64) so that I can generate different code for different native target.
The text was updated successfully, but these errors were encountered:
Not currently, as far as I am aware. As the native target is also an (output) source set, this issue is a variant of source set-specific code generation. See #965 for details and a possible workaround via output source set detection.
Not currently, as far as I am aware. As the native target is also an (output) source set, this issue is a variant of source set-specific code generation. See #965 for details and a possible workaround via output source set detection.
thanks bro, the example you provide work fine for me. it had fix my problem!!!!
Hey!
I use ksp in my kmp project to generate code for iosArm64 and androidNativeArm64 target.
but when I run kspAndroidNativeArm64 and kspIosArm64 task, both of their platformName value is "Native", like this
so is there any way to know which native target is running in
SymbolProcessorProvider
orSymbolProcessor
, I want to know which native target that ksp is running(iosArm64 or androidNativeArm64) so that I can generate different code for different native target.The text was updated successfully, but these errors were encountered: