Hi guys! The question is about “actual” code gener...
# multiplatform
p
Hi guys! The question is about “actual” code generation for iOS. There are 2 architectures offered to generate implementation for: iosX64Main and iosArm64Main. While I need just one class generated in iosMain folder. Is there a way to make code generation work for iosMain only?
👍 2
👀 1
v
This context menu has no idea that you have your custom iosMain(). That is annoying and I don't know if we can somehow teach the KMP plugin to recognize created sourcesets. Although if you manually define the actual implementation in iosMain() you will be fine
p
I know 🙂 2 years of struggling with manual code generation for iOS actuals. And now I found the courage to ask for the help.
a
The ide knows about that source set . So just seems like an oversight or missing feature. I’d file a bug report!
🙌 1
k
p
@Konstantin Tskhovrebov thank you! There is a new UI in the issue you quoted. Is it capable of generating just one actual for iOS in my case (inside iosMain)? When will the new UI to be available?
k
It is already available in Canary AS. Yes. You can generate an actual only in single source set
🙌 1
❤️ 1
p
Thank you so much!