Hi. Changed ios platform declaration from `iosX64(...
# multiplatform
r
Hi. Changed ios platform declaration from
iosX64("ios")
to
ios()
and now need to create modules iosArm64Main and iosX64Main. Is there any way to point both targets to iosMain sourceset only? Does it mean that now I would need duplicate
actual
implementation for each target?
⬆️ 1
c
1.4 introduced hierarchical sourcesets which sets up this structure for you automatically https://kotlinlang.org/docs/reference/whatsnew14.html#sharing-code-in-several-targets-with-the-hierarchical-project-structure
👍🏻 2
r
It was a bit misleading from IDE point because there were no to create
actual
class for
iosMain
. Thanks @Casey Brooks. Sorted!